#5E206D#5E206D

#5E206D is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.4% C 0.137 H 319.2°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#5E206D
RGBrgb(94, 32, 109)
HSLhsl(288, 55%, 28%)
HSVhsv(288, 71%, 43%)
CMYKcmyk(13.8%, 70.6%, 0%, 57.3%)
CIE-LABlab(25.31, 40.07, -31.88)
CIE-LCHlch(25.31, 51.20, 321.49°)
OKLaboklab(37.35% 0.1034 -0.0892)
OKLCHoklch(37.35% 0.137 319.2)
XYZxyz(7.8926, 4.5172, 14.9212)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E206D #2F6D20
analogous
#38206D #5E206D #6D2055
triadic
#5E206D #6D5E20 #206D5E
tetradic
#5E206D #6D3820 #2F6D20 #20556D
square
#5E206D #6D3820 #2F6D20 #20556D
split-complementary
#5E206D #556D20 #206D38
monochromatic
#140718 #35123E #5E206D #872E9C #AD40C7

Accessibility & contrast

On white

11.03
#5E206D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#5E206D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E206D
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E206D#FFFFFF#000000##FFFFFF
##5E206D1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03386F
Deuteranopia (green-blind)
#253E6B
Tritanopia (blue-blind)
#5E2E44
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5e206d;
/* rgb */ color: rgb(94, 32, 109);
/* oklch */ color: oklch(37.4% 0.137 319.2);
Tailwind
colors: {
  custom: {
    50: '#8e6197',
    500: '#5e206d',
    950: '#000000',
  },
}
SCSS
$custom: #5e206d;
$custom-light: #8e6197;
$custom-dark: #000000;
JSON
{
  "hex": "#5e206d",
  "rgb": {
    "r": 94,
    "g": 32,
    "b": 109
  },
  "hsl": {
    "h": 288.312,
    "s": 54.61,
    "l": 27.647
  },
  "oklch": {
    "l": 0.37355,
    "c": 0.13658,
    "h": 319.2
  },
  "luminance": 0.04517
}

Semantic roles & 50–950 ramp

primary
#5E206D
secondary
#59A148
accent
#DE4A67
background
#F9F5F9
surface
#F1EAF2
border
#CBC6CC
text
#0D050D
muted
#7E797E

Preview Lab

Preview with #5E206D

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

Preview Lab → · Contrast checker → · Palette generator →

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