#5F1969#5F1969

#5F1969 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.5% C 0.142 H 322.4°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#5F1969
RGBrgb(95, 25, 105)
HSLhsl(293, 62%, 25%)
HSVhsv(293, 76%, 41%)
CMYKcmyk(9.5%, 76.2%, 0%, 58.8%)
CIE-LABlab(24.16, 42.48, -31.13)
CIE-LCHlch(24.16, 52.66, 323.76°)
OKLaboklab(36.48% 0.1129 -0.087)
OKLCHoklch(36.48% 0.142 322.4)
XYZxyz(7.6165, 4.1485, 13.7614)
Luminance0.0415 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1969 #236919
analogous
#371969 #5F1969 #69194B
triadic
#5F1969 #695F19 #19695F
tetradic
#5F1969 #693719 #236919 #194B69
square
#5F1969 #693719 #236919 #194B69
split-complementary
#5F1969 #4B6919 #196937
monochromatic
#160619 #320D38 #5F1969 #8C259A #B831CC

Accessibility & contrast

On white

11.48
#5F1969 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#5F1969 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1969
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1969#FFFFFF#000000##FFFFFF
##5F19691.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346B
Deuteranopia (green-blind)
#253C67
Tritanopia (blue-blind)
#60283F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5f1969;
/* rgb */ color: rgb(95, 25, 105);
/* oklch */ color: oklch(36.5% 0.142 322.4);
Tailwind
colors: {
  custom: {
    50: '#8f5e94',
    500: '#5f1969',
    950: '#000000',
  },
}
SCSS
$custom: #5f1969;
$custom-light: #8f5e94;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1969",
  "rgb": {
    "r": 95,
    "g": 25,
    "b": 105
  },
  "hsl": {
    "h": 292.5,
    "s": 61.538,
    "l": 25.49
  },
  "oklch": {
    "l": 0.36476,
    "c": 0.14249,
    "h": 322.4
  },
  "luminance": 0.04148
}

Semantic roles & 50–950 ramp

primary
#5F1969
secondary
#4B9F3F
accent
#E54357
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D050D
muted
#7E797E

Preview Lab

Preview with #5F1969

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

Preview Lab → · Contrast checker → · Palette generator →

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