#5F0D57#5F0D57

#5F0D57 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.3% C 0.140 H 332.8°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#5F0D57
RGBrgb(95, 13, 87)
HSLhsl(306, 76%, 21%)
HSVhsv(306, 86%, 37%)
CMYKcmyk(0%, 86.3%, 8.4%, 62.7%)
CIE-LABlab(21.61, 43.21, -23.31)
CIE-LCHlch(21.61, 49.10, 331.66°)
OKLaboklab(34.3% 0.1247 -0.0641)
OKLCHoklch(34.3% 0.14 332.8)
XYZxyz(6.5836, 3.4094, 9.3263)
Luminance0.0341 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0D57 #0D5F15
analogous
#3E0D5F #5F0D57 #5F0D2E
triadic
#5F0D57 #575F0D #0D575F
tetradic
#5F0D57 #5F3E0D #0D5F15 #0D2E5F
square
#5F0D57 #5F3E0D #0D5F15 #0D2E5F
split-complementary
#5F0D57 #2E5F0D #0D5F3E
monochromatic
#1B0419 #290626 #5F0D57 #951488 #CB1CBA

Accessibility & contrast

On white

12.49
#5F0D57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#5F0D57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0D57
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0D57#FFFFFF#000000##FFFFFF
##5F0D571.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072D59
Deuteranopia (green-blind)
#2B3855
Tritanopia (blue-blind)
#641732
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f0d57;
/* rgb */ color: rgb(95, 13, 87);
/* oklch */ color: oklch(34.3% 0.140 332.8);
Tailwind
colors: {
  custom: {
    50: '#905886',
    500: '#5f0d57',
    950: '#000000',
  },
}
SCSS
$custom: #5f0d57;
$custom-light: #905886;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0d57",
  "rgb": {
    "r": 95,
    "g": 13,
    "b": 87
  },
  "hsl": {
    "h": 305.854,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.34296,
    "c": 0.14018,
    "h": 332.8
  },
  "luminance": 0.03409
}

Semantic roles & 50–950 ramp

primary
#5F0D57
secondary
#2F9939
accent
#F34835
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5F0D57

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

Preview Lab → · Contrast checker → · Palette generator →

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