#514B9E

A color in the Violet family

#514b9e is a color in the Violet family: RGB(81, 75, 158), HSL(244°, 36%, 46%), CMYK(49%, 53%, 0%, 38%). Closest named color: darkslateblue. Contrast is 7.37:1 on white and 2.85:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#514b9e
RGBrgb(81 75 158)
RGB (legacy)rgb(81, 75, 158)
RGB %rgb(32% 29% 62%)
HSLhsl(244 36% 46%)
HSV / HSBhsv(244, 53%, 62%)
HWBhwb(244 29% 38%)
CMYKcmyk(49%, 53%, 0%, 38%)
CIELAB (D50)lab(35.88 20.25 -45.26)
LCHlch(35.88 49.58 294.1)
OKLaboklab(0.4624 0.03 -0.1269)
OKLCHoklch(0.4624 0.1304 283.31)
Decimal5327774

Properties

Color ToneViolet
Closest named colordarkslateblue ΔE 4.9
Closest web-safe color#663399
Hue244°
Saturation (HSL / HSV)36% / 53%
Lightness (HSL)46%
Brightness or Value (HSV)62%
Luminance (Rec.601 / Rec.709)34% / 32%
Relative luminance (WCAG)0.0925
Red / Green / Blue81 / 75 / 158

WCAG 2.2 Contrast Ratio

On White (#ffffff)
7.37:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.85: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.4 / -16.6 · As background with white / black text: Lc -90.2 / 18.6

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