#5E207D#5E207D

#5E207D is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.5% C 0.153 H 311.8°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#5E207D
RGBrgb(94, 32, 125)
HSLhsl(280, 59%, 31%)
HSVhsv(280, 74%, 49%)
CMYKcmyk(24.8%, 74.4%, 0%, 51%)
CIE-LABlab(26.43, 43.60, -40.30)
CIE-LCHlch(26.43, 59.37, 317.25°)
OKLaboklab(38.51% 0.1019 -0.1139)
OKLCHoklch(38.51% 0.153 311.8)
XYZxyz(8.8336, 4.8936, 19.8773)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E207D #3F7D20
analogous
#2F207D #5E207D #7D206D
triadic
#5E207D #7D5E20 #207D5E
tetradic
#5E207D #7D2F20 #3F7D20 #206D7D
square
#5E207D #7D2F20 #3F7D20 #206D7D
split-complementary
#5E207D #6D7D20 #207D2F
monochromatic
#15071C #39144C #5E207D #832CAE #A247D0

Accessibility & contrast

On white

10.61
#5E207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#5E207D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E207D
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E207D#FFFFFF#000000##FFFFFF
##5E207D1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#14407B
Tritanopia (blue-blind)
#5A344C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5e207d;
/* rgb */ color: rgb(94, 32, 125);
/* oklch */ color: oklch(38.5% 0.153 311.8);
Tailwind
colors: {
  custom: {
    50: '#8f62a3',
    500: '#5e207d',
    950: '#000000',
  },
}
SCSS
$custom: #5e207d;
$custom-light: #8f62a3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e207d",
  "rgb": {
    "r": 94,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 280,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3851,
    "c": 0.15286,
    "h": 311.8
  },
  "luminance": 0.04893
}

Semantic roles & 50–950 ramp

primary
#5E207D
secondary
#6BB049
accent
#E2457A
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D050F
muted
#7E7A7F

Preview Lab

Preview with #5E207D

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

Preview Lab → · Contrast checker → · Palette generator →

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