#5F1364#5F1364

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

Color values

HEX#5F1364
RGBrgb(95, 19, 100)
HSLhsl(296, 68%, 23%)
HSVhsv(296, 81%, 39%)
CMYKcmyk(5%, 81%, 0%, 60.8%)
CIE-LABlab(23.06, 43.69, -29.61)
CIE-LCHlch(23.06, 52.78, 325.87°)
OKLaboklab(35.59% 0.1192 -0.0825)
OKLCHoklch(35.59% 0.145 325.3)
XYZxyz(7.2523, 3.8192, 12.4093)
Luminance0.0382 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1364 #186413
analogous
#361364 #5F1364 #641340
triadic
#5F1364 #645F13 #13645F
tetradic
#5F1364 #643613 #186413 #134064
square
#5F1364 #643613 #186413 #134064
split-complementary
#5F1364 #406413 #136436
monochromatic
#18051A #2E0931 #5F1364 #901D97 #C127CB

Accessibility & contrast

On white

11.91
#5F1364 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#5F1364 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1364
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1364#FFFFFF#000000##FFFFFF
##5F13641.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f1364;
/* rgb */ color: rgb(95, 19, 100);
/* oklch */ color: oklch(35.6% 0.145 325.3);
Tailwind
colors: {
  custom: {
    50: '#8f5b90',
    500: '#5f1364',
    950: '#000000',
  },
}
SCSS
$custom: #5f1364;
$custom-light: #8f5b90;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1364",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 100
  },
  "hsl": {
    "h": 296.296,
    "s": 68.067,
    "l": 23.333
  },
  "oklch": {
    "l": 0.35593,
    "c": 0.14492,
    "h": 325.3
  },
  "luminance": 0.03819
}

Semantic roles & 50–950 ramp

primary
#5F1364
secondary
#3D9C37
accent
#EB3D48
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5F1364

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

Preview Lab → · Contrast checker → · Palette generator →

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