#5F1B60#5F1B60

#5F1B60 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.1% C 0.132 H 327.3°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#5F1B60
RGBrgb(95, 27, 96)
HSLhsl(299, 56%, 24%)
HSVhsv(299, 72%, 38%)
CMYKcmyk(1%, 71.9%, 0%, 62.4%)
CIE-LABlab(23.87, 39.91, -25.70)
CIE-LCHlch(23.87, 47.47, 327.22°)
OKLaboklab(36.09% 0.1108 -0.0712)
OKLCHoklch(36.09% 0.132 327.3)
XYZxyz(7.2225, 4.0618, 11.4677)
Luminance0.0406 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1B60 #1C601B
analogous
#3D1B60 #5F1B60 #601B3F
triadic
#5F1B60 #605F1B #1B605F
tetradic
#5F1B60 #603D1B #1C601B #1B3F60
square
#5F1B60 #603D1B #1C601B #1B3F60
split-complementary
#5F1B60 #3F601B #1B603D
monochromatic
#180718 #300E30 #5F1B60 #8E2890 #BE36C0

Accessibility & contrast

On white

11.59
#5F1B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#5F1B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1B60
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1B60#FFFFFF#000000##FFFFFF
##5F1B601.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103362
Deuteranopia (green-blind)
#2C3C5E
Tritanopia (blue-blind)
#62253B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5f1b60;
/* rgb */ color: rgb(95, 27, 96);
/* oklch */ color: oklch(36.1% 0.132 327.3);
Tailwind
colors: {
  custom: {
    50: '#8f5e8d',
    500: '#5f1b60',
    950: '#000000',
  },
}
SCSS
$custom: #5f1b60;
$custom-light: #8f5e8d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1b60",
  "rgb": {
    "r": 95,
    "g": 27,
    "b": 96
  },
  "hsl": {
    "h": 299.13,
    "s": 56.098,
    "l": 24.118
  },
  "oklch": {
    "l": 0.36091,
    "c": 0.13165,
    "h": 327.3
  },
  "luminance": 0.04061
}

Semantic roles & 50–950 ramp

primary
#5F1B60
secondary
#429641
accent
#DF484B
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D050C
muted
#7E797D

Preview Lab

Preview with #5F1B60

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

Preview Lab → · Contrast checker → · Palette generator →

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