#5E0F5B#5E0F5B

#5E0F5B is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.5% C 0.141 H 329.8°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#5E0F5B
RGBrgb(94, 15, 91)
HSLhsl(302, 72%, 21%)
HSVhsv(302, 84%, 37%)
CMYKcmyk(0%, 84%, 3.2%, 63.1%)
CIE-LABlab(21.86, 43.09, -25.60)
CIE-LCHlch(21.86, 50.12, 329.29°)
OKLaboklab(34.52% 0.1219 -0.0708)
OKLCHoklch(34.52% 0.141 329.8)
XYZxyz(6.6752, 3.4772, 10.2151)
Luminance0.0348 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E0F5B #0F5E12
analogous
#3A0F5E #5E0F5B #5E0F34
triadic
#5E0F5B #5B5E0F #0F5B5E
tetradic
#5E0F5B #5E3A0F #0F5E12 #0F345E
square
#5E0F5B #5E3A0F #0F5E12 #0F345E
split-complementary
#5E0F5B #345E0F #0F5E3A
monochromatic
#1A041A #290728 #5E0F5B #93178E #C820C1

Accessibility & contrast

On white

12.39
#5E0F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#5E0F5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E0F5B
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E0F5B#FFFFFF#000000##FFFFFF
##5E0F5B1.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022E5D
Deuteranopia (green-blind)
#283859
Tritanopia (blue-blind)
#621B35
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e0f5b;
/* rgb */ color: rgb(94, 15, 91);
/* oklch */ color: oklch(34.5% 0.141 329.8);
Tailwind
colors: {
  custom: {
    50: '#8f598a',
    500: '#5e0f5b',
    950: '#000000',
  },
}
SCSS
$custom: #5e0f5b;
$custom-light: #8f598a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e0f5b",
  "rgb": {
    "r": 94,
    "g": 15,
    "b": 91
  },
  "hsl": {
    "h": 302.278,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.34515,
    "c": 0.14095,
    "h": 329.8
  },
  "luminance": 0.03477
}

Semantic roles & 50–950 ramp

primary
#5E0F5B
secondary
#319735
accent
#EF4039
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5E0F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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