#5F0F5E#5F0F5E

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

Color values

HEX#5F0F5E
RGBrgb(95, 15, 94)
HSLhsl(301, 73%, 22%)
HSVhsv(301, 84%, 37%)
CMYKcmyk(0%, 84.2%, 1.1%, 62.7%)
CIE-LABlab(22.24, 43.85, -26.97)
CIE-LCHlch(22.24, 51.48, 328.40°)
OKLaboklab(34.88% 0.123 -0.0748)
OKLCHoklch(34.88% 0.144 328.7)
XYZxyz(6.9105, 3.5832, 10.9152)
Luminance0.0358 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F5E #0F5F10
analogous
#380F5F #5F0F5E #5F0F36
triadic
#5F0F5E #5E5F0F #0F5E5F
tetradic
#5F0F5E #5F380F #0F5F10 #0F365F
square
#5F0F5E #5F380F #0F5F10 #0F365F
split-complementary
#5F0F5E #365F0F #0F5F38
monochromatic
#1A041A #2A072A #5F0F5E #941792 #C920C7

Accessibility & contrast

On white

12.23
#5F0F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#5F0F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0F5E
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0F5E#FFFFFF#000000##FFFFFF
##5F0F5E1.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F60
Deuteranopia (green-blind)
#27395C
Tritanopia (blue-blind)
#621D37
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f0f5e;
/* rgb */ color: rgb(95, 15, 94);
/* oklch */ color: oklch(34.9% 0.144 328.7);
Tailwind
colors: {
  custom: {
    50: '#90598c',
    500: '#5f0f5e',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f5e;
$custom-light: #90598c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f5e",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 94
  },
  "hsl": {
    "h": 300.75,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.34883,
    "c": 0.14389,
    "h": 328.7
  },
  "luminance": 0.03583
}

Semantic roles & 50–950 ramp

primary
#5F0F5E
secondary
#329833
accent
#EF3B38
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5F0F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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