#5F1359#5F1359

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

Color values

HEX#5F1359
RGBrgb(95, 19, 89)
HSLhsl(305, 67%, 22%)
HSVhsv(305, 80%, 37%)
CMYKcmyk(0%, 80%, 6.3%, 62.7%)
CIE-LABlab(22.37, 41.70, -23.44)
CIE-LCHlch(22.37, 47.84, 330.66°)
OKLaboklab(34.88% 0.1193 -0.0646)
OKLCHoklch(34.88% 0.136 331.6)
XYZxyz(6.7554, 3.6205, 9.7923)
Luminance0.0362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1359 #135F19
analogous
#3F135F #5F1359 #5F1333
triadic
#5F1359 #595F13 #13595F
tetradic
#5F1359 #5F3F13 #135F19 #13335F
square
#5F1359 #5F3F13 #135F19 #13335F
split-complementary
#5F1359 #335F13 #135F3F
monochromatic
#1A0518 #2C0929 #5F1359 #921D89 #C527B9

Accessibility & contrast

On white

12.18
#5F1359 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1359
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1359#FFFFFF#000000##FFFFFF
##5F13591.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2F5B
Deuteranopia (green-blind)
#2C3957
Tritanopia (blue-blind)
#631C35
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f1359;
/* rgb */ color: rgb(95, 19, 89);
/* oklch */ color: oklch(34.9% 0.136 331.6);
Tailwind
colors: {
  custom: {
    50: '#8f5a88',
    500: '#5f1359',
    950: '#000000',
  },
}
SCSS
$custom: #5f1359;
$custom-light: #8f5a88;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1359",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 89
  },
  "hsl": {
    "h": 304.737,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.34878,
    "c": 0.13567,
    "h": 331.6
  },
  "luminance": 0.0362
}

Semantic roles & 50–950 ramp

primary
#5F1359
secondary
#37973E
accent
#EA4C3E
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5F1359

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

Preview Lab → · Contrast checker → · Palette generator →

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