#5F1460#5F1460

#5F1460 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.4% C 0.140 H 327.5°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#5F1460
RGBrgb(95, 20, 96)
HSLhsl(299, 66%, 23%)
HSVhsv(299, 79%, 38%)
CMYKcmyk(1%, 79.2%, 0%, 62.4%)
CIE-LABlab(22.92, 42.61, -27.21)
CIE-LCHlch(22.92, 50.56, 327.44°)
OKLaboklab(35.41% 0.1184 -0.0755)
OKLCHoklch(35.41% 0.14 327.5)
XYZxyz(7.0807, 3.7782, 11.4204)
Luminance0.0378 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1460 #156014
analogous
#391460 #5F1460 #60143B
triadic
#5F1460 #605F14 #14605F
tetradic
#5F1460 #603914 #156014 #143B60
square
#5F1460 #603914 #156014 #143B60
split-complementary
#5F1460 #3B6014 #146039
monochromatic
#190519 #2D092D #5F1460 #911F93 #C329C5

Accessibility & contrast

On white

11.96
#5F1460 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1460
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1460#FFFFFF#000000##FFFFFF
##5F14601.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f1460;
/* rgb */ color: rgb(95, 20, 96);
/* oklch */ color: oklch(35.4% 0.140 327.5);
Tailwind
colors: {
  custom: {
    50: '#8f5b8d',
    500: '#5f1460',
    950: '#000000',
  },
}
SCSS
$custom: #5f1460;
$custom-light: #8f5b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1460",
  "rgb": {
    "r": 95,
    "g": 20,
    "b": 96
  },
  "hsl": {
    "h": 299.211,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.3541,
    "c": 0.14039,
    "h": 327.5
  },
  "luminance": 0.03778
}

Semantic roles & 50–950 ramp

primary
#5F1460
secondary
#3A9838
accent
#E83F42
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5F1460

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

Preview Lab → · Contrast checker → · Palette generator →

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