#5F1466#5F1466

#5F1466 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.8% C 0.146 H 324.2°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#5F1466
RGBrgb(95, 20, 102)
HSLhsl(295, 67%, 24%)
HSVhsv(295, 80%, 40%)
CMYKcmyk(6.9%, 80.4%, 0%, 60%)
CIE-LABlab(23.31, 43.73, -30.52)
CIE-LCHlch(23.31, 53.33, 325.08°)
OKLaboklab(35.81% 0.1181 -0.0851)
OKLCHoklch(35.81% 0.146 324.2)
XYZxyz(7.3675, 3.8930, 12.9312)
Luminance0.0389 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1466 #1B6614
analogous
#361466 #5F1466 #661444
triadic
#5F1466 #665F14 #14665F
tetradic
#5F1466 #663614 #1B6614 #144466
square
#5F1466 #663614 #1B6614 #144466
split-complementary
#5F1466 #446614 #146636
monochromatic
#18051A #2F0A33 #5F1466 #8F1E99 #BE28CC

Accessibility & contrast

On white

11.81
#5F1466 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#5F1466 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1466
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1466#FFFFFF#000000##FFFFFF
##5F14661.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003268
Deuteranopia (green-blind)
#243B64
Tritanopia (blue-blind)
#61233C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5f1466;
/* rgb */ color: rgb(95, 20, 102);
/* oklch */ color: oklch(35.8% 0.146 324.2);
Tailwind
colors: {
  custom: {
    50: '#905b92',
    500: '#5f1466',
    950: '#000000',
  },
}
SCSS
$custom: #5f1466;
$custom-light: #905b92;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1466",
  "rgb": {
    "r": 95,
    "g": 20,
    "b": 102
  },
  "hsl": {
    "h": 294.878,
    "s": 67.213,
    "l": 23.922
  },
  "oklch": {
    "l": 0.35813,
    "c": 0.14558,
    "h": 324.2
  },
  "luminance": 0.03893
}

Semantic roles & 50–950 ramp

primary
#5F1466
secondary
#419D39
accent
#EA3E4C
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5F1466

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

Preview Lab → · Contrast checker → · Palette generator →

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