#5F1459#5F1459

#5F1459 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.0% C 0.135 H 331.6°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#5F1459
RGBrgb(95, 20, 89)
HSLhsl(305, 65%, 23%)
HSVhsv(305, 79%, 37%)
CMYKcmyk(0%, 78.9%, 6.3%, 62.7%)
CIE-LABlab(22.50, 41.36, -23.25)
CIE-LCHlch(22.50, 47.44, 330.65°)
OKLaboklab(34.97% 0.1183 -0.064)
OKLCHoklch(34.97% 0.135 331.6)
XYZxyz(6.7726, 3.6550, 9.7980)
Luminance0.0365 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1459 #145F1A
analogous
#3F145F #5F1459 #5F1433
triadic
#5F1459 #595F14 #14595F
tetradic
#5F1459 #5F3F14 #145F1A #14335F
square
#5F1459 #5F3F14 #145F1A #14335F
split-complementary
#5F1459 #335F14 #145F3F
monochromatic
#190518 #2C092A #5F1459 #921F88 #C429B8

Accessibility & contrast

On white

12.13
#5F1459 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#5F1459 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1459
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1459#FFFFFF#000000##FFFFFF
##5F14591.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2F5B
Deuteranopia (green-blind)
#2C3957
Tritanopia (blue-blind)
#631D35
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5f1459;
/* rgb */ color: rgb(95, 20, 89);
/* oklch */ color: oklch(35.0% 0.135 331.6);
Tailwind
colors: {
  custom: {
    50: '#8f5b88',
    500: '#5f1459',
    950: '#000000',
  },
}
SCSS
$custom: #5f1459;
$custom-light: #8f5b88;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1459",
  "rgb": {
    "r": 95,
    "g": 20,
    "b": 89
  },
  "hsl": {
    "h": 304.8,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.34965,
    "c": 0.13452,
    "h": 331.6
  },
  "luminance": 0.03654
}

Semantic roles & 50–950 ramp

primary
#5F1459
secondary
#389740
accent
#E84D40
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5F1459

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

Preview Lab → · Contrast checker → · Palette generator →

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