#5E1575#5E1575

#5E1575 is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.8% C 0.158 H 316.3°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#5E1575
RGBrgb(94, 21, 117)
HSLhsl(286, 70%, 27%)
HSVhsv(286, 82%, 46%)
CMYKcmyk(19.7%, 82.1%, 0%, 54.1%)
CIE-LABlab(24.32, 46.17, -38.61)
CIE-LCHlch(24.32, 60.19, 320.09°)
OKLaboklab(36.83% 0.114 -0.1089)
OKLCHoklch(36.83% 0.158 316.3)
XYZxyz(8.0946, 4.2007, 17.2106)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1575 #2C7515
analogous
#2E1575 #5E1575 #75155C
triadic
#5E1575 #755E15 #15755E
tetradic
#5E1575 #752E15 #2C7515 #155C75
square
#5E1575 #752E15 #2C7515 #155C75
split-complementary
#5E1575 #5C7515 #15752E
monochromatic
#15051A #340C41 #5E1575 #881EA9 #AF2BD9

Accessibility & contrast

On white

11.41
#5E1575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#5E1575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1575
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1575#FFFFFF#000000##FFFFFF
##5E15751.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003678
Deuteranopia (green-blind)
#143C73
Tritanopia (blue-blind)
#5C2B45
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5e1575;
/* rgb */ color: rgb(94, 21, 117);
/* oklch */ color: oklch(36.8% 0.158 316.3);
Tailwind
colors: {
  custom: {
    50: '#8f5c9d',
    500: '#5e1575',
    950: '#000000',
  },
}
SCSS
$custom: #5e1575;
$custom-light: #8f5c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1575",
  "rgb": {
    "r": 94,
    "g": 21,
    "b": 117
  },
  "hsl": {
    "h": 285.625,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.36832,
    "c": 0.15762,
    "h": 316.3
  },
  "luminance": 0.042
}

Semantic roles & 50–950 ramp

primary
#5E1575
secondary
#56AB3B
accent
#EC3B66
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #5E1575

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

Preview Lab → · Contrast checker → · Palette generator →

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