#5E2073#5E2073

#5E2073 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 37.8% C 0.143 H 316.2°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#5E2073
RGBrgb(94, 32, 115)
HSLhsl(285, 56%, 29%)
HSVhsv(285, 72%, 45%)
CMYKcmyk(18.3%, 72.2%, 0%, 54.9%)
CIE-LABlab(25.72, 41.36, -35.09)
CIE-LCHlch(25.72, 54.24, 319.69°)
OKLaboklab(37.77% 0.103 -0.0986)
OKLCHoklch(37.77% 0.143 316.2)
XYZxyz(8.2266, 4.6508, 16.6807)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2073 #357320
analogous
#352073 #5E2073 #73205F
triadic
#5E2073 #735E20 #20735E
tetradic
#5E2073 #733520 #357320 #205F73
square
#5E2073 #733520 #357320 #205F73
split-complementary
#5E2073 #5F7320 #207335
monochromatic
#140718 #371343 #5E2073 #852DA3 #A843CB

Accessibility & contrast

On white

10.88
#5E2073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#5E2073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2073
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2073#FFFFFF#000000##FFFFFF
##5E20731.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003975
Deuteranopia (green-blind)
#203F71
Tritanopia (blue-blind)
#5D3047
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5e2073;
/* rgb */ color: rgb(94, 32, 115);
/* oklch */ color: oklch(37.8% 0.143 316.2);
Tailwind
colors: {
  custom: {
    50: '#8f619c',
    500: '#5e2073',
    950: '#000000',
  },
}
SCSS
$custom: #5e2073;
$custom-light: #8f619c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2073",
  "rgb": {
    "r": 94,
    "g": 32,
    "b": 115
  },
  "hsl": {
    "h": 284.819,
    "s": 56.463,
    "l": 28.824
  },
  "oklch": {
    "l": 0.37774,
    "c": 0.14264,
    "h": 316.2
  },
  "luminance": 0.04651
}

Semantic roles & 50–950 ramp

primary
#5E2073
secondary
#60A748
accent
#E0486E
background
#F9F5F9
surface
#F1EAF2
border
#CBC6CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #5E2073

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

Preview Lab → · Contrast checker → · Palette generator →

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