#5F1360#5F1360

#5F1360 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.3% C 0.141 H 327.5°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#5F1360
RGBrgb(95, 19, 96)
HSLhsl(299, 67%, 23%)
HSVhsv(299, 80%, 38%)
CMYKcmyk(1%, 80.2%, 0%, 62.4%)
CIE-LABlab(22.81, 42.95, -27.40)
CIE-LCHlch(22.81, 50.94, 327.47°)
OKLaboklab(35.33% 0.1193 -0.076)
OKLCHoklch(35.33% 0.141 327.5)
XYZxyz(7.0634, 3.7437, 11.4146)
Luminance0.0374 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1360 #146013
analogous
#391360 #5F1360 #60133A
triadic
#5F1360 #605F13 #13605F
tetradic
#5F1360 #603913 #146013 #133A60
square
#5F1360 #603913 #146013 #133A60
split-complementary
#5F1360 #3A6013 #136039
monochromatic
#19051A #2C092D #5F1360 #921D93 #C427C6

Accessibility & contrast

On white

12.01
#5F1360 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1360
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1360#FFFFFF#000000##FFFFFF
##5F13601.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013062
Deuteranopia (green-blind)
#283A5E
Tritanopia (blue-blind)
#622039
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5f1360;
/* rgb */ color: rgb(95, 19, 96);
/* oklch */ color: oklch(35.3% 0.141 327.5);
Tailwind
colors: {
  custom: {
    50: '#8f5b8d',
    500: '#5f1360',
    950: '#000000',
  },
}
SCSS
$custom: #5f1360;
$custom-light: #8f5b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1360",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 96
  },
  "hsl": {
    "h": 299.221,
    "s": 66.957,
    "l": 22.549
  },
  "oklch": {
    "l": 0.35325,
    "c": 0.14149,
    "h": 327.5
  },
  "luminance": 0.03743
}

Semantic roles & 50–950 ramp

primary
#5F1360
secondary
#389837
accent
#EA3E40
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5F1360

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

Preview Lab → · Contrast checker → · Palette generator →

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