#5E1775#5E1775

#5E1775 is a dark, vivid purple. Relative luminance 0.043; OKLCH L 37.0% C 0.156 H 316.2°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#5E1775
RGBrgb(94, 23, 117)
HSLhsl(285, 67%, 27%)
HSVhsv(285, 80%, 46%)
CMYKcmyk(19.7%, 80.3%, 0%, 54.1%)
CIE-LABlab(24.57, 45.47, -38.22)
CIE-LCHlch(24.57, 59.40, 319.95°)
OKLaboklab(37% 0.1122 -0.1077)
OKLCHoklch(37% 0.156 316.2)
XYZxyz(8.1329, 4.2772, 17.2233)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1775 #2E7517
analogous
#2F1775 #5E1775 #75175D
triadic
#5E1775 #755E17 #17755E
tetradic
#5E1775 #752F17 #2E7517 #175D75
square
#5E1775 #752F17 #2E7517 #175D75
split-complementary
#5E1775 #5D7517 #17752F
monochromatic
#15051A #350D42 #5E1775 #8721A8 #AE30D6

Accessibility & contrast

On white

11.32
#5E1775 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#5E1775 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1775
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1775#FFFFFF#000000##FFFFFF
##5E17751.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e1775;
/* rgb */ color: rgb(94, 23, 117);
/* oklch */ color: oklch(37.0% 0.156 316.2);
Tailwind
colors: {
  custom: {
    50: '#8f5d9d',
    500: '#5e1775',
    950: '#000000',
  },
}
SCSS
$custom: #5e1775;
$custom-light: #8f5d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1775",
  "rgb": {
    "r": 94,
    "g": 23,
    "b": 117
  },
  "hsl": {
    "h": 285.319,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.37003,
    "c": 0.15555,
    "h": 316.2
  },
  "luminance": 0.04277
}

Semantic roles & 50–950 ramp

primary
#5E1775
secondary
#58AA3D
accent
#EA3E68
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #5E1775

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

Preview Lab → · Contrast checker → · Palette generator →

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