#5E207C#5E207C

#5E207C is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.4% C 0.152 H 312.2°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#5E207C
RGBrgb(94, 32, 124)
HSLhsl(280, 59%, 31%)
HSVhsv(280, 74%, 49%)
CMYKcmyk(24.2%, 74.2%, 0%, 51.4%)
CIE-LABlab(26.36, 43.37, -39.79)
CIE-LCHlch(26.36, 58.86, 317.47°)
OKLaboklab(38.43% 0.1021 -0.1124)
OKLCHoklch(38.43% 0.152 312.2)
XYZxyz(8.7700, 4.8682, 19.5425)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E207C #3E7C20
analogous
#30207C #5E207C #7C206C
triadic
#5E207C #7C5E20 #207C5E
tetradic
#5E207C #7C3020 #3E7C20 #206C7C
square
#5E207C #7C3020 #3E7C20 #206C7C
split-complementary
#5E207C #6C7C20 #207C30
monochromatic
#14071B #39134B #5E207C #832DAD #A347CF

Accessibility & contrast

On white

10.64
#5E207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E207C
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E207C#FFFFFF#000000##FFFFFF
##5E207C1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7F
Deuteranopia (green-blind)
#15407A
Tritanopia (blue-blind)
#5A344C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5e207c;
/* rgb */ color: rgb(94, 32, 124);
/* oklch */ color: oklch(38.4% 0.152 312.2);
Tailwind
colors: {
  custom: {
    50: '#8f62a2',
    500: '#5e207c',
    950: '#000000',
  },
}
SCSS
$custom: #5e207c;
$custom-light: #8f62a2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e207c",
  "rgb": {
    "r": 94,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 280.435,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.38434,
    "c": 0.15184,
    "h": 312.2
  },
  "luminance": 0.04868
}

Semantic roles & 50–950 ramp

primary
#5E207C
secondary
#6AAF49
accent
#E24679
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D050F
muted
#7E7A7F

Preview Lab

Preview with #5E207C

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

Preview Lab → · Contrast checker → · Palette generator →

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