#5B1869#5B1869

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

Color values

HEX#5B1869
RGBrgb(91, 24, 105)
HSLhsl(290, 63%, 25%)
HSVhsv(290, 77%, 41%)
CMYKcmyk(13.3%, 77.1%, 0%, 58.8%)
CIE-LABlab(23.33, 41.94, -32.49)
CIE-LCHlch(23.33, 53.06, 322.23°)
OKLaboklab(35.75% 0.1088 -0.0911)
OKLCHoklch(35.75% 0.142 320.1)
XYZxyz(7.1905, 3.8977, 13.7354)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1869 #266918
analogous
#331869 #5B1869 #69184E
triadic
#5B1869 #695B18 #18695B
tetradic
#5B1869 #693318 #266918 #184E69
square
#5B1869 #693318 #266918 #184E69
split-complementary
#5B1869 #4E6918 #186933
monochromatic
#160619 #300D37 #5B1869 #86239B #B12FCD

Accessibility & contrast

On white

11.80
#5B1869 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1869
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1869#FFFFFF#000000##FFFFFF
##5B18691.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336B
Deuteranopia (green-blind)
#203A67
Tritanopia (blue-blind)
#5B283F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5b1869;
/* rgb */ color: rgb(91, 24, 105);
/* oklch */ color: oklch(35.8% 0.142 320.1);
Tailwind
colors: {
  custom: {
    50: '#8c5d94',
    500: '#5b1869',
    950: '#000000',
  },
}
SCSS
$custom: #5b1869;
$custom-light: #8c5d94;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1869",
  "rgb": {
    "r": 91,
    "g": 24,
    "b": 105
  },
  "hsl": {
    "h": 289.63,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.35751,
    "c": 0.14185,
    "h": 320.1
  },
  "luminance": 0.03897
}

Semantic roles & 50–950 ramp

primary
#5B1869
secondary
#4F9F3E
accent
#E6425E
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #5B1869

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

Preview Lab → · Contrast checker → · Palette generator →

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