#5F1465#5F1465

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

Color values

HEX#5F1465
RGBrgb(95, 20, 101)
HSLhsl(296, 67%, 24%)
HSVhsv(296, 80%, 40%)
CMYKcmyk(5.9%, 80.2%, 0%, 60.4%)
CIE-LABlab(23.25, 43.54, -29.98)
CIE-LCHlch(23.25, 52.86, 325.45°)
OKLaboklab(35.74% 0.1182 -0.0835)
OKLCHoklch(35.74% 0.145 324.7)
XYZxyz(7.3182, 3.8733, 12.6716)
Luminance0.0387 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1465 #1A6514
analogous
#361465 #5F1465 #651442
triadic
#5F1465 #655F14 #14655F
tetradic
#5F1465 #653614 #1A6514 #144265
square
#5F1465 #653614 #1A6514 #144265
split-complementary
#5F1465 #426514 #146536
monochromatic
#18051A #2F0A32 #5F1465 #8F1E98 #BF28CB

Accessibility & contrast

On white

11.83
#5F1465 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1465
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1465#FFFFFF#000000##FFFFFF
##5F14651.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003267
Deuteranopia (green-blind)
#253A63
Tritanopia (blue-blind)
#61233C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5f1465;
/* rgb */ color: rgb(95, 20, 101);
/* oklch */ color: oklch(35.7% 0.145 324.7);
Tailwind
colors: {
  custom: {
    50: '#8f5b91',
    500: '#5f1465',
    950: '#000000',
  },
}
SCSS
$custom: #5f1465;
$custom-light: #8f5b91;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1465",
  "rgb": {
    "r": 95,
    "g": 20,
    "b": 101
  },
  "hsl": {
    "h": 295.556,
    "s": 66.942,
    "l": 23.725
  },
  "oklch": {
    "l": 0.35744,
    "c": 0.14471,
    "h": 324.7
  },
  "luminance": 0.03873
}

Semantic roles & 50–950 ramp

primary
#5F1465
secondary
#409C39
accent
#EA3E4B
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040D
muted
#7E797D

Preview Lab

Preview with #5F1465

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

Preview Lab → · Contrast checker → · Palette generator →

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