#5F1569#5F1569

#5F1569 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.1% C 0.147 H 322.6°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#5F1569
RGBrgb(95, 21, 105)
HSLhsl(293, 67%, 25%)
HSVhsv(293, 80%, 41%)
CMYKcmyk(9.5%, 80%, 0%, 58.8%)
CIE-LABlab(23.64, 43.96, -31.96)
CIE-LCHlch(23.64, 54.35, 323.98°)
OKLaboklab(36.11% 0.1169 -0.0894)
OKLCHoklch(36.11% 0.147 322.6)
XYZxyz(7.5370, 3.9896, 13.7349)
Luminance0.0399 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1569 #1F6915
analogous
#351569 #5F1569 #691549
triadic
#5F1569 #695F15 #15695F
tetradic
#5F1569 #693515 #1F6915 #154969
square
#5F1569 #693515 #1F6915 #154969
split-complementary
#5F1569 #496915 #156935
monochromatic
#17051A #310B36 #5F1569 #8D1F9C #BB29CF

Accessibility & contrast

On white

11.68
#5F1569 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#5F1569 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1569
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1569#FFFFFF#000000##FFFFFF
##5F15691.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336B
Deuteranopia (green-blind)
#223B67
Tritanopia (blue-blind)
#60253E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5f1569;
/* rgb */ color: rgb(95, 21, 105);
/* oklch */ color: oklch(36.1% 0.147 322.6);
Tailwind
colors: {
  custom: {
    50: '#905c94',
    500: '#5f1569',
    950: '#000000',
  },
}
SCSS
$custom: #5f1569;
$custom-light: #905c94;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1569",
  "rgb": {
    "r": 95,
    "g": 21,
    "b": 105
  },
  "hsl": {
    "h": 292.857,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.36107,
    "c": 0.14715,
    "h": 322.6
  },
  "luminance": 0.03989
}

Semantic roles & 50–950 ramp

primary
#5F1569
secondary
#46A03A
accent
#EA3E53
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5F1569

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

Preview Lab → · Contrast checker → · Palette generator →

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