#5F1464#5F1464

#5F1464 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.7% C 0.144 H 325.3°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#5F1464
RGBrgb(95, 20, 100)
HSLhsl(296, 67%, 24%)
HSVhsv(296, 80%, 39%)
CMYKcmyk(5%, 80%, 0%, 60.8%)
CIE-LABlab(23.18, 43.35, -29.43)
CIE-LCHlch(23.18, 52.40, 325.83°)
OKLaboklab(35.68% 0.1182 -0.0819)
OKLCHoklch(35.68% 0.144 325.3)
XYZxyz(7.2696, 3.8538, 12.4151)
Luminance0.0385 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1464 #196414
analogous
#371464 #5F1464 #641441
triadic
#5F1464 #645F14 #14645F
tetradic
#5F1464 #643714 #196414 #144164
square
#5F1464 #643714 #196414 #144164
split-complementary
#5F1464 #416414 #146437
monochromatic
#18051A #2F0A31 #5F1464 #8F1E97 #C028CA

Accessibility & contrast

On white

11.86
#5F1464 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#5F1464 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1464
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1464#FFFFFF#000000##FFFFFF
##5F14641.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003166
Deuteranopia (green-blind)
#263A62
Tritanopia (blue-blind)
#61223B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5f1464;
/* rgb */ color: rgb(95, 20, 100);
/* oklch */ color: oklch(35.7% 0.144 325.3);
Tailwind
colors: {
  custom: {
    50: '#8f5b90',
    500: '#5f1464',
    950: '#000000',
  },
}
SCSS
$custom: #5f1464;
$custom-light: #8f5b90;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1464",
  "rgb": {
    "r": 95,
    "g": 20,
    "b": 100
  },
  "hsl": {
    "h": 296.25,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.35676,
    "c": 0.14384,
    "h": 325.3
  },
  "luminance": 0.03853
}

Semantic roles & 50–950 ramp

primary
#5F1464
secondary
#3F9B38
accent
#EA3E49
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5F1464

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

Preview Lab → · Contrast checker → · Palette generator →

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