#514B79

A color in the Violet family

#514b79 is a color in the Violet family: RGB(81, 75, 121), HSL(248°, 23%, 38%), CMYK(33%, 38%, 0%, 53%). Closest named color: darkslateblue. Contrast is 7.98:1 on white and 2.63:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#514b79
RGBrgb(81 75 121)
RGB (legacy)rgb(81, 75, 121)
RGB %rgb(32% 29% 47%)
HSLhsl(248 23% 38%)
HSV / HSBhsv(248, 38%, 47%)
HWBhwb(248 29% 53%)
CMYKcmyk(33%, 38%, 0%, 53%)
CIELAB (D50)lab(34.05 11.34 -25.6)
LCHlch(34.05 28 293.89)
OKLaboklab(0.4392 0.0242 -0.0707)
OKLCHoklch(0.4392 0.0748 288.91)
Decimal5327737

Properties

Color ToneViolet
Closest named colordarkslateblue ΔE 5.6
Closest web-safe color#663366
Hue248°
Saturation (HSL / HSV)23% / 38%
Lightness (HSL)38%
Brightness or Value (HSV)47%
Luminance (Rec.601 / Rec.709)32% / 31%
Relative luminance (WCAG)0.0816
Red / Green / Blue81 / 75 / 121

WCAG 2.2 Contrast Ratio

On White (#ffffff)
7.98:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.63: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.6 / -14.5 · As background with white / black text: Lc -92.3 / 16.4

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: #514b79;
  --color-brand-oklch: oklch(43.92% 0.0748 288.91);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(81 75 121 / 50%); }
/* Tailwind CSS */
<div class="bg-[#514b79] text-[#514b79] border-[#514b79]">