#514B9A

A color in the Violet family

#514b9a is a color in the Violet family: RGB(81, 75, 154), HSL(245°, 34%, 45%), CMYK(47%, 51%, 0%, 40%). Closest named color: darkslateblue. Contrast is 7.44:1 on white and 2.82:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#514b9a
RGBrgb(81 75 154)
RGB (legacy)rgb(81, 75, 154)
RGB %rgb(32% 29% 60%)
HSLhsl(245 34% 45%)
HSV / HSBhsv(245, 51%, 60%)
HWBhwb(245 29% 40%)
CMYKcmyk(47%, 51%, 0%, 40%)
CIELAB (D50)lab(35.66 19.23 -43.21)
LCHlch(35.66 47.3 293.99)
OKLaboklab(0.4596 0.0297 -0.121)
OKLCHoklch(0.4596 0.1246 283.78)
Decimal5327770

Properties

Color ToneViolet
Closest named colordarkslateblue ΔE 4.6
Closest web-safe color#663399
Hue245°
Saturation (HSL / HSV)34% / 51%
Lightness (HSL)45%
Brightness or Value (HSV)60%
Luminance (Rec.601 / Rec.709)34% / 32%
Relative luminance (WCAG)0.0911
Red / Green / Blue81 / 75 / 154

WCAG 2.2 Contrast Ratio

On White (#ffffff)
7.44:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.82: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 85.7 / -16.4 · As background with white / black text: Lc -90.5 / 18.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: #514b9a;
  --color-brand-oklch: oklch(45.96% 0.1246 283.78);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(81 75 154 / 50%); }
/* Tailwind CSS */
<div class="bg-[#514b9a] text-[#514b9a] border-[#514b9a]">