#5F1365#5F1365

#5F1365 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.7% C 0.146 H 324.8°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#5F1365
RGBrgb(95, 19, 101)
HSLhsl(296, 68%, 24%)
HSVhsv(296, 81%, 40%)
CMYKcmyk(5.9%, 81.2%, 0%, 60.4%)
CIE-LABlab(23.13, 43.88, -30.16)
CIE-LCHlch(23.13, 53.25, 325.49°)
OKLaboklab(35.66% 0.1191 -0.0841)
OKLCHoklch(35.66% 0.146 324.8)
XYZxyz(7.3010, 3.8387, 12.6658)
Luminance0.0384 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1365 #196513
analogous
#361365 #5F1365 #651342
triadic
#5F1365 #655F13 #13655F
tetradic
#5F1365 #653613 #196513 #134265
square
#5F1365 #653613 #196513 #134265
split-complementary
#5F1365 #426513 #136536
monochromatic
#18051A #2F0931 #5F1365 #8F1D99 #C026CC

Accessibility & contrast

On white

11.88
#5F1365 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1365
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1365#FFFFFF#000000##FFFFFF
##5F13651.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003167
Deuteranopia (green-blind)
#243A63
Tritanopia (blue-blind)
#61223C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5f1365;
/* rgb */ color: rgb(95, 19, 101);
/* oklch */ color: oklch(35.7% 0.146 324.8);
Tailwind
colors: {
  custom: {
    50: '#905b91',
    500: '#5f1365',
    950: '#000000',
  },
}
SCSS
$custom: #5f1365;
$custom-light: #905b91;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1365",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 101
  },
  "hsl": {
    "h": 295.61,
    "s": 68.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.35661,
    "c": 0.14578,
    "h": 324.8
  },
  "luminance": 0.03838
}

Semantic roles & 50–950 ramp

primary
#5F1365
secondary
#3F9D37
accent
#EB3D49
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040D
muted
#7E797D

Preview Lab

Preview with #5F1365

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

Preview Lab → · Contrast checker → · Palette generator →

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