#5F0F68#5F0F68

#5F0F68 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.6% C 0.152 H 323.4°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#5F0F68
RGBrgb(95, 15, 104)
HSLhsl(294, 75%, 23%)
HSVhsv(294, 86%, 41%)
CMYKcmyk(8.7%, 85.6%, 0%, 59.2%)
CIE-LABlab(22.91, 45.67, -32.48)
CIE-LCHlch(22.91, 56.04, 324.58°)
OKLaboklab(35.57% 0.1222 -0.0908)
OKLCHoklch(35.57% 0.152 323.4)
XYZxyz(7.3886, 3.7745, 13.4334)
Luminance0.0377 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F68 #18680F
analogous
#320F68 #5F0F68 #680F44
triadic
#5F0F68 #685F0F #0F685F
tetradic
#5F0F68 #68320F #18680F #0F4468
square
#5F0F68 #68320F #18680F #0F4468
split-complementary
#5F0F68 #44680F #0F6832
monochromatic
#18041B #2E0733 #5F0F68 #90179D #C11ED3

Accessibility & contrast

On white

11.97
#5F0F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#5F0F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0F68
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0F68#FFFFFF#000000##FFFFFF
##5F0F681.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316A
Deuteranopia (green-blind)
#203A66
Tritanopia (blue-blind)
#61223C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5f0f68;
/* rgb */ color: rgb(95, 15, 104);
/* oklch */ color: oklch(35.6% 0.152 323.4);
Tailwind
colors: {
  custom: {
    50: '#905a94',
    500: '#5f0f68',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f68;
$custom-light: #905a94;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f68",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 104
  },
  "hsl": {
    "h": 293.933,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.35571,
    "c": 0.15222,
    "h": 323.4
  },
  "luminance": 0.03774
}

Semantic roles & 50–950 ramp

primary
#5F0F68
secondary
#3DA132
accent
#F13649
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5F0F68

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

Preview Lab → · Contrast checker → · Palette generator →

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