#5E1769#5E1769

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

Color values

HEX#5E1769
RGBrgb(94, 23, 105)
HSLhsl(292, 64%, 25%)
HSVhsv(292, 78%, 41%)
CMYKcmyk(10.5%, 78.1%, 0%, 58.8%)
CIE-LABlab(23.71, 43.01, -31.85)
CIE-LCHlch(23.71, 53.52, 323.48°)
OKLaboklab(36.13% 0.1137 -0.0891)
OKLCHoklch(36.13% 0.144 321.9)
XYZxyz(7.4720, 4.0128, 13.7428)
Luminance0.0401 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1769 #226917
analogous
#351769 #5E1769 #69174B
triadic
#5E1769 #695E17 #17695E
tetradic
#5E1769 #693517 #226917 #174B69
square
#5E1769 #693517 #226917 #174B69
split-complementary
#5E1769 #4B6917 #176935
monochromatic
#160519 #310C37 #5E1769 #8B229B #B82DCD

Accessibility & contrast

On white

11.65
#5E1769 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1769
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1769#FFFFFF#000000##FFFFFF
##5E17691.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e1769;
/* rgb */ color: rgb(94, 23, 105);
/* oklch */ color: oklch(36.1% 0.144 321.9);
Tailwind
colors: {
  custom: {
    50: '#8f5d94',
    500: '#5e1769',
    950: '#000000',
  },
}
SCSS
$custom: #5e1769;
$custom-light: #8f5d94;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1769",
  "rgb": {
    "r": 94,
    "g": 23,
    "b": 105
  },
  "hsl": {
    "h": 291.951,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.36127,
    "c": 0.14442,
    "h": 321.9
  },
  "luminance": 0.04012
}

Semantic roles & 50–950 ramp

primary
#5E1769
secondary
#4A9F3D
accent
#E74157
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5E1769

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

Preview Lab → · Contrast checker → · Palette generator →

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