#5F0E5F#5F0E5F

#5F0E5F is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.9% C 0.146 H 328.2°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#5F0E5F
RGBrgb(95, 14, 95)
HSLhsl(300, 74%, 21%)
HSVhsv(300, 85%, 37%)
CMYKcmyk(0%, 85.3%, 0%, 62.7%)
CIE-LABlab(22.21, 44.31, -27.69)
CIE-LCHlch(22.21, 52.25, 328.00°)
OKLaboklab(34.88% 0.1237 -0.0768)
OKLCHoklch(34.88% 0.146 328.2)
XYZxyz(6.9418, 3.5737, 11.1484)
Luminance0.0357 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0E5F #0E5F0E
analogous
#370E5F #5F0E5F #5F0E37
triadic
#5F0E5F #5F5F0E #0E5F5F
tetradic
#5F0E5F #5F370E #0E5F0E #0E375F
square
#5F0E5F #5F370E #0E5F0E #0E375F
split-complementary
#5F0E5F #375F0E #0E5F37
monochromatic
#1B041B #2A062A #5F0E5F #941694 #CA1ECA

Accessibility & contrast

On white

12.25
#5F0E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F0E5F
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0E5F#FFFFFF#000000##FFFFFF
##5F0E5F1.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F61
Deuteranopia (green-blind)
#26395D
Tritanopia (blue-blind)
#621D37
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f0e5f;
/* rgb */ color: rgb(95, 14, 95);
/* oklch */ color: oklch(34.9% 0.146 328.2);
Tailwind
colors: {
  custom: {
    50: '#90598d',
    500: '#5f0e5f',
    950: '#000000',
  },
}
SCSS
$custom: #5f0e5f;
$custom-light: #90598d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0e5f",
  "rgb": {
    "r": 95,
    "g": 14,
    "b": 95
  },
  "hsl": {
    "h": 300,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.3488,
    "c": 0.14564,
    "h": 328.2
  },
  "luminance": 0.03573
}

Semantic roles & 50–950 ramp

primary
#5F0E5F
secondary
#309930
accent
#F13737
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5F0E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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