#5E206F#5E206F

#5E206F is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.5% C 0.139 H 318.2°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#5E206F
RGBrgb(94, 32, 111)
HSLhsl(287, 55%, 28%)
HSVhsv(287, 71%, 44%)
CMYKcmyk(15.3%, 71.2%, 0%, 56.5%)
CIE-LABlab(25.45, 40.49, -32.96)
CIE-LCHlch(25.45, 52.21, 320.86°)
OKLaboklab(37.49% 0.1033 -0.0924)
OKLCHoklch(37.49% 0.139 318.2)
XYZxyz(8.0015, 4.5608, 15.4947)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E206F #316F20
analogous
#37206F #5E206F #6F2058
triadic
#5E206F #6F5E20 #206F5E
tetradic
#5E206F #6F3720 #316F20 #20586F
square
#5E206F #6F3720 #316F20 #20586F
split-complementary
#5E206F #586F20 #206F37
monochromatic
#140718 #36123F #5E206F #862E9F #AB41C8

Accessibility & contrast

On white

10.98
#5E206F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#5E206F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E206F
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E206F#FFFFFF#000000##FFFFFF
##5E206F1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#243E6D
Tritanopia (blue-blind)
#5E2F45
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5e206f;
/* rgb */ color: rgb(94, 32, 111);
/* oklch */ color: oklch(37.5% 0.139 318.2);
Tailwind
colors: {
  custom: {
    50: '#8e6199',
    500: '#5e206f',
    950: '#000000',
  },
}
SCSS
$custom: #5e206f;
$custom-light: #8e6199;
$custom-dark: #000000;
JSON
{
  "hex": "#5e206f",
  "rgb": {
    "r": 94,
    "g": 32,
    "b": 111
  },
  "hsl": {
    "h": 287.089,
    "s": 55.245,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37493,
    "c": 0.13859,
    "h": 318.2
  },
  "luminance": 0.0456
}

Semantic roles & 50–950 ramp

primary
#5E206F
secondary
#5CA348
accent
#DF4969
background
#F9F5F9
surface
#F1EAF2
border
#CBC6CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #5E206F

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

Preview Lab → · Contrast checker → · Palette generator →

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