#514B7B

A color in the Violet family

#514b7b is a color in the Violet family: RGB(81, 75, 123), HSL(248°, 24%, 39%), CMYK(34%, 39%, 0%, 52%). Closest named color: darkslateblue. Contrast is 7.95:1 on white and 2.64:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#514b7b
RGBrgb(81 75 123)
RGB (legacy)rgb(81, 75, 123)
RGB %rgb(32% 29% 48%)
HSLhsl(248 24% 39%)
HSV / HSBhsv(248, 39%, 48%)
HWBhwb(248 29% 52%)
CMYKcmyk(34%, 39%, 0%, 52%)
CIELAB (D50)lab(34.14 11.79 -26.7)
LCHlch(34.14 29.19 293.82)
OKLaboklab(0.4403 0.0247 -0.0739)
OKLCHoklch(0.4403 0.0779 288.5)
Decimal5327739

Properties

Color ToneViolet
Closest named colordarkslateblue ΔE 5.4
Closest web-safe color#663366
Hue248°
Saturation (HSL / HSV)24% / 39%
Lightness (HSL)39%
Brightness or Value (HSV)48%
Luminance (Rec.601 / Rec.709)32% / 31%
Relative luminance (WCAG)0.0821
Red / Green / Blue81 / 75 / 123

WCAG 2.2 Contrast Ratio

On White (#ffffff)
7.95:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.64: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.5 / -14.6 · As background with white / black text: Lc -92.2 / 16.5

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