#5E1D82#5E1D82

#5E1D82 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.162 H 310.1°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#5E1D82
RGBrgb(94, 29, 130)
HSLhsl(279, 64%, 31%)
HSVhsv(279, 78%, 51%)
CMYKcmyk(27.7%, 77.7%, 0%, 49%)
CIE-LABlab(26.36, 46.01, -43.56)
CIE-LCHlch(26.36, 63.36, 316.56°)
OKLaboklab(38.58% 0.1041 -0.1235)
OKLCHoklch(38.58% 0.162 310.1)
XYZxyz(9.0839, 4.8703, 21.5763)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1D82 #41821D
analogous
#2B1D82 #5E1D82 #821D73
triadic
#5E1D82 #825E1D #1D825E
tetradic
#5E1D82 #822B1D #41821D #1D7382
square
#5E1D82 #822B1D #41821D #1D7382
split-complementary
#5E1D82 #73821D #1D822B
monochromatic
#16071E #3A1250 #5E1D82 #8228B4 #A244D5

Accessibility & contrast

On white

10.64
#5E1D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#5E1D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1D82
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1D82#FFFFFF#000000##FFFFFF
##5E1D821.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C85
Deuteranopia (green-blind)
#033F80
Tritanopia (blue-blind)
#59354E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5e1d82;
/* rgb */ color: rgb(94, 29, 130);
/* oklch */ color: oklch(38.6% 0.162 310.1);
Tailwind
colors: {
  custom: {
    50: '#9061a7',
    500: '#5e1d82',
    950: '#000000',
  },
}
SCSS
$custom: #5e1d82;
$custom-light: #9061a7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1d82",
  "rgb": {
    "r": 94,
    "g": 29,
    "b": 130
  },
  "hsl": {
    "h": 278.614,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38582,
    "c": 0.16153,
    "h": 310.1
  },
  "luminance": 0.0487
}

Semantic roles & 50–950 ramp

primary
#5E1D82
secondary
#6DB546
accent
#E7417C
background
#F9F5FA
surface
#F1EAF4
border
#CBC6CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #5E1D82

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5E1D82 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva