#5E1E65#5E1E65

#5E1E65 is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.6% C 0.132 H 323.6°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#5E1E65
RGBrgb(94, 30, 101)
HSLhsl(294, 54%, 26%)
HSVhsv(294, 70%, 40%)
CMYKcmyk(6.9%, 70.3%, 0%, 60.4%)
CIE-LABlab(24.48, 39.32, -28.03)
CIE-LCHlch(24.48, 48.29, 324.51°)
OKLaboklab(36.59% 0.106 -0.078)
OKLCHoklch(36.59% 0.132 323.6)
XYZxyz(7.4291, 4.2482, 12.7381)
Luminance0.0425 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1E65 #25651E
analogous
#3B1E65 #5E1E65 #651E48
triadic
#5E1E65 #655E1E #1E655E
tetradic
#5E1E65 #653B1E #25651E #1E4865
square
#5E1E65 #653B1E #25651E #1E4865
split-complementary
#5E1E65 #48651E #1E653B
monochromatic
#160718 #321036 #5E1E65 #8A2C94 #B63AC3

Accessibility & contrast

On white

11.35
#5E1E65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#5E1E65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1E65
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1E65#FFFFFF#000000##FFFFFF
##5E1E651.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3567
Deuteranopia (green-blind)
#293D63
Tritanopia (blue-blind)
#60293F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5e1e65;
/* rgb */ color: rgb(94, 30, 101);
/* oklch */ color: oklch(36.6% 0.132 323.6);
Tailwind
colors: {
  custom: {
    50: '#8e6091',
    500: '#5e1e65',
    950: '#000000',
  },
}
SCSS
$custom: #5e1e65;
$custom-light: #8e6091;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1e65",
  "rgb": {
    "r": 94,
    "g": 30,
    "b": 101
  },
  "hsl": {
    "h": 294.085,
    "s": 54.198,
    "l": 25.686
  },
  "oklch": {
    "l": 0.36589,
    "c": 0.13156,
    "h": 323.6
  },
  "luminance": 0.04248
}

Semantic roles & 50–950 ramp

primary
#5E1E65
secondary
#4D9A45
accent
#DE4A59
background
#F8F5F8
surface
#F0EAF0
border
#CBC6CB
text
#0D050D
muted
#7D797D

Preview Lab

Preview with #5E1E65

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

Preview Lab → · Contrast checker → · Palette generator →

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