#5E207B#5E207B

#5E207B is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.4% C 0.151 H 312.7°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#5E207B
RGBrgb(94, 32, 123)
HSLhsl(281, 59%, 30%)
HSVhsv(281, 74%, 48%)
CMYKcmyk(23.6%, 74%, 0%, 51.8%)
CIE-LABlab(26.28, 43.14, -39.27)
CIE-LCHlch(26.28, 58.34, 317.69°)
OKLaboklab(38.36% 0.1022 -0.1109)
OKLCHoklch(38.36% 0.151 312.7)
XYZxyz(8.7071, 4.8430, 19.2112)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E207B #3D7B20
analogous
#30207B #5E207B #7B206A
triadic
#5E207B #7B5E20 #207B5E
tetradic
#5E207B #7B3020 #3D7B20 #206A7B
square
#5E207B #7B3020 #3D7B20 #206A7B
split-complementary
#5E207B #6A7B20 #207B30
monochromatic
#14071A #39134A #5E207B #832DAC #A346CF

Accessibility & contrast

On white

10.67
#5E207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E207B
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E207B#FFFFFF#000000##FFFFFF
##5E207B1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#173F79
Tritanopia (blue-blind)
#5B344B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5e207b;
/* rgb */ color: rgb(94, 32, 123);
/* oklch */ color: oklch(38.4% 0.151 312.7);
Tailwind
colors: {
  custom: {
    50: '#8f62a2',
    500: '#5e207b',
    950: '#000000',
  },
}
SCSS
$custom: #5e207b;
$custom-light: #8f62a2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e207b",
  "rgb": {
    "r": 94,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 280.879,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.38359,
    "c": 0.1508,
    "h": 312.7
  },
  "luminance": 0.04843
}

Semantic roles & 50–950 ramp

primary
#5E207B
secondary
#69AE49
accent
#E24678
background
#F9F6FA
surface
#F1EBF3
border
#CBC6CD
text
#0D050F
muted
#7E7A7F

Preview Lab

Preview with #5E207B

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

Preview Lab → · Contrast checker → · Palette generator →

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