#5E209A#5E209A

#5E209A is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.9% C 0.183 H 301.6°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#5E209A
RGBrgb(94, 32, 154)
HSLhsl(270, 66%, 36%)
HSVhsv(270, 79%, 60%)
CMYKcmyk(39%, 79.2%, 0%, 39.6%)
CIE-LABlab(28.76, 50.46, -54.53)
CIE-LCHlch(28.76, 74.30, 312.78°)
OKLaboklab(40.88% 0.0957 -0.1557)
OKLCHoklch(40.88% 0.183 301.6)
XYZxyz(10.9639, 5.7457, 31.0970)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E209A #5C9A20
analogous
#21209A #5E209A #9A2099
triadic
#5E209A #9A5E20 #209A5E
tetradic
#5E209A #9A2120 #5C9A20 #20999A
square
#5E209A #9A2120 #5C9A20 #20999A
split-complementary
#5E209A #999A20 #209A21
monochromatic
#200B35 #3F1567 #5E209A #7D2BCD #9B58DC

Accessibility & contrast

On white

9.77
#5E209A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#5E209A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E209A
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E209A#FFFFFF#000000##FFFFFF
##5E209A1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#004398
Tritanopia (blue-blind)
#51415D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5e209a;
/* rgb */ color: rgb(94, 32, 154);
/* oklch */ color: oklch(40.9% 0.183 301.6);
Tailwind
colors: {
  custom: {
    50: '#9263b9',
    500: '#5e209a',
    950: '#000000',
  },
}
SCSS
$custom: #5e209a;
$custom-light: #9263b9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e209a",
  "rgb": {
    "r": 94,
    "g": 32,
    "b": 154
  },
  "hsl": {
    "h": 270.492,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40883,
    "c": 0.18277,
    "h": 301.6
  },
  "luminance": 0.05746
}

Semantic roles & 50–950 ramp

primary
#5E209A
secondary
#8AC056
accent
#E93F93
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #5E209A

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

Preview Lab → · Contrast checker → · Palette generator →

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