#5F0E57#5F0E57

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

Color values

HEX#5F0E57
RGBrgb(95, 14, 87)
HSLhsl(306, 74%, 21%)
HSVhsv(306, 85%, 37%)
CMYKcmyk(0%, 85.3%, 8.4%, 62.7%)
CIE-LABlab(21.71, 42.93, -23.16)
CIE-LCHlch(21.71, 48.78, 331.66°)
OKLaboklab(34.36% 0.1238 -0.0637)
OKLCHoklch(34.36% 0.139 332.8)
XYZxyz(6.5967, 3.4357, 9.3307)
Luminance0.0343 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0E57 #0E5F16
analogous
#3F0E5F #5F0E57 #5F0E2F
triadic
#5F0E57 #575F0E #0E575F
tetradic
#5F0E57 #5F3F0E #0E5F16 #0E2F5F
square
#5F0E57 #5F3F0E #0E5F16 #0E2F5F
split-complementary
#5F0E57 #2F5F0E #0E5F3F
monochromatic
#1B0418 #2A0626 #5F0E57 #941688 #CA1EB9

Accessibility & contrast

On white

12.45
#5F0E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F0E57
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0E57#FFFFFF#000000##FFFFFF
##5F0E571.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f0e57;
/* rgb */ color: rgb(95, 14, 87);
/* oklch */ color: oklch(34.4% 0.139 332.8);
Tailwind
colors: {
  custom: {
    50: '#905886',
    500: '#5f0e57',
    950: '#000000',
  },
}
SCSS
$custom: #5f0e57;
$custom-light: #905886;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0e57",
  "rgb": {
    "r": 95,
    "g": 14,
    "b": 87
  },
  "hsl": {
    "h": 305.926,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.34364,
    "c": 0.13926,
    "h": 332.8
  },
  "luminance": 0.03435
}

Semantic roles & 50–950 ramp

primary
#5F0E57
secondary
#30993A
accent
#F14937
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5F0E57

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

Preview Lab → · Contrast checker → · Palette generator →

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