#5F0E5D#5F0E5D

#5F0E5D is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.7% C 0.144 H 329.3°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#5F0E5D
RGBrgb(95, 14, 93)
HSLhsl(301, 74%, 21%)
HSVhsv(301, 85%, 37%)
CMYKcmyk(0%, 85.3%, 2.1%, 62.7%)
CIE-LABlab(22.08, 43.96, -26.57)
CIE-LCHlch(22.08, 51.36, 328.85°)
OKLaboklab(34.75% 0.1238 -0.0736)
OKLCHoklch(34.75% 0.144 329.3)
XYZxyz(6.8521, 3.5378, 10.6758)
Luminance0.0354 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0E5D #0E5F10
analogous
#390E5F #5F0E5D #5F0E35
triadic
#5F0E5D #5D5F0E #0E5D5F
tetradic
#5F0E5D #5F390E #0E5F10 #0E355F
square
#5F0E5D #5F390E #0E5F10 #0E355F
split-complementary
#5F0E5D #355F0E #0E5F39
monochromatic
#1B041A #2A0629 #5F0E5D #941691 #CA1EC5

Accessibility & contrast

On white

12.30
#5F0E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#5F0E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0E5D
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0E5D#FFFFFF#000000##FFFFFF
##5F0E5D1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E5F
Deuteranopia (green-blind)
#28385B
Tritanopia (blue-blind)
#631B36
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f0e5d;
/* rgb */ color: rgb(95, 14, 93);
/* oklch */ color: oklch(34.7% 0.144 329.3);
Tailwind
colors: {
  custom: {
    50: '#90598b',
    500: '#5f0e5d',
    950: '#000000',
  },
}
SCSS
$custom: #5f0e5d;
$custom-light: #90598b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0e5d",
  "rgb": {
    "r": 95,
    "g": 14,
    "b": 93
  },
  "hsl": {
    "h": 301.481,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.34747,
    "c": 0.14402,
    "h": 329.3
  },
  "luminance": 0.03537
}

Semantic roles & 50–950 ramp

primary
#5F0E5D
secondary
#309933
accent
#F13B37
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5F0E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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