#514B76

A color in the Violet family

#514b76 is a color in the Violet family: RGB(81, 75, 118), HSL(248°, 22%, 38%), CMYK(31%, 36%, 0%, 54%). Closest named color: darkslateblue. Contrast is 8.02:1 on white and 2.62:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#514b76
RGBrgb(81 75 118)
RGB (legacy)rgb(81, 75, 118)
RGB %rgb(32% 29% 46%)
HSLhsl(248 22% 38%)
HSV / HSBhsv(248, 36%, 46%)
HWBhwb(248 29% 54%)
CMYKcmyk(31%, 36%, 0%, 54%)
CIELAB (D50)lab(33.93 10.67 -23.94)
LCHlch(33.93 26.21 294.03)
OKLaboklab(0.4376 0.0235 -0.066)
OKLCHoklch(0.4376 0.0701 289.57)
Decimal5327734

Properties

Color ToneViolet
Closest named colordarkslateblue ΔE 6
Closest web-safe color#663366
Hue248°
Saturation (HSL / HSV)22% / 36%
Lightness (HSL)38%
Brightness or Value (HSV)46%
Luminance (Rec.601 / Rec.709)32% / 31%
Relative luminance (WCAG)0.0809
Red / Green / Blue81 / 75 / 118

WCAG 2.2 Contrast Ratio

On White (#ffffff)
8.02:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.62:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 87.8 / -14.4 · As background with white / black text: Lc -92.4 / 16.2

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #514b76;
  --color-brand-oklch: oklch(43.76% 0.0701 289.57);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(81 75 118 / 50%); }
/* Tailwind CSS */
<div class="bg-[#514b76] text-[#514b76] border-[#514b76]">