#5E206B#5E206B

#5E206B is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.2% C 0.135 H 320.2°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#5E206B
RGBrgb(94, 32, 107)
HSLhsl(290, 54%, 27%)
HSVhsv(290, 70%, 42%)
CMYKcmyk(12.1%, 70.1%, 0%, 58%)
CIE-LABlab(25.18, 39.64, -30.80)
CIE-LCHlch(25.18, 50.20, 322.15°)
OKLaboklab(37.22% 0.1034 -0.0861)
OKLCHoklch(37.22% 0.135 320.2)
XYZxyz(7.7861, 4.4746, 14.3606)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E206B #2D6B20
analogous
#39206B #5E206B #6B2053
triadic
#5E206B #6B5E20 #206B5E
tetradic
#5E206B #6B3920 #2D6B20 #20536B
square
#5E206B #6B3920 #2D6B20 #20536B
split-complementary
#5E206B #536B20 #206B39
monochromatic
#150718 #35123C #5E206B #872E9A #AF40C6

Accessibility & contrast

On white

11.08
#5E206B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#5E206B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E206B
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E206B#FFFFFF#000000##FFFFFF
##5E206B1.0011.081.8911.08
#FFFFFF11.081.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07376D
Deuteranopia (green-blind)
#273E69
Tritanopia (blue-blind)
#5E2D42
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5e206b;
/* rgb */ color: rgb(94, 32, 107);
/* oklch */ color: oklch(37.2% 0.135 320.2);
Tailwind
colors: {
  custom: {
    50: '#8e6196',
    500: '#5e206b',
    950: '#000000',
  },
}
SCSS
$custom: #5e206b;
$custom-light: #8e6196;
$custom-dark: #000000;
JSON
{
  "hex": "#5e206b",
  "rgb": {
    "r": 94,
    "g": 32,
    "b": 107
  },
  "hsl": {
    "h": 289.6,
    "s": 53.957,
    "l": 27.255
  },
  "oklch": {
    "l": 0.3722,
    "c": 0.13457,
    "h": 320.2
  },
  "luminance": 0.04474
}

Semantic roles & 50–950 ramp

primary
#5E206B
secondary
#579F48
accent
#DD4A64
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0D050D
muted
#7D797E

Preview Lab

Preview with #5E206B

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

Preview Lab → · Contrast checker → · Palette generator →

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