#5F0F57#5F0F57

#5F0F57 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.4% C 0.138 H 332.8°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#5F0F57
RGBrgb(95, 15, 87)
HSLhsl(306, 73%, 22%)
HSVhsv(306, 84%, 37%)
CMYKcmyk(0%, 84.2%, 8.4%, 62.7%)
CIE-LABlab(21.81, 42.64, -23.00)
CIE-LCHlch(21.81, 48.45, 331.66°)
OKLaboklab(34.44% 0.123 -0.0632)
OKLCHoklch(34.44% 0.138 332.8)
XYZxyz(6.6105, 3.4632, 9.3353)
Luminance0.0346 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F57 #0F5F17
analogous
#3F0F5F #5F0F57 #5F0F2F
triadic
#5F0F57 #575F0F #0F575F
tetradic
#5F0F57 #5F3F0F #0F5F17 #0F2F5F
square
#5F0F57 #5F3F0F #0F5F17 #0F2F5F
split-complementary
#5F0F57 #2F5F0F #0F5F3F
monochromatic
#1A0418 #2A0727 #5F0F57 #941787 #C920B8

Accessibility & contrast

On white

12.41
#5F0F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#5F0F57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0F57
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0F57#FFFFFF#000000##FFFFFF
##5F0F571.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2D59
Deuteranopia (green-blind)
#2B3855
Tritanopia (blue-blind)
#641933
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f0f57;
/* rgb */ color: rgb(95, 15, 87);
/* oklch */ color: oklch(34.4% 0.138 332.8);
Tailwind
colors: {
  custom: {
    50: '#905986',
    500: '#5f0f57',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f57;
$custom-light: #905986;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f57",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 87
  },
  "hsl": {
    "h": 306,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.34436,
    "c": 0.1383,
    "h": 332.8
  },
  "luminance": 0.03463
}

Semantic roles & 50–950 ramp

primary
#5F0F57
secondary
#32983C
accent
#EF4B38
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5F0F57

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

Preview Lab → · Contrast checker → · Palette generator →

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