#5E1773#5E1773

#5E1773 is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.9% C 0.154 H 317.1°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#5E1773
RGBrgb(94, 23, 115)
HSLhsl(286, 67%, 27%)
HSVhsv(286, 80%, 45%)
CMYKcmyk(18.3%, 80%, 0%, 54.9%)
CIE-LABlab(24.42, 45.05, -37.18)
CIE-LCHlch(24.42, 58.41, 320.47°)
OKLaboklab(36.85% 0.1125 -0.1047)
OKLCHoklch(36.85% 0.154 317.1)
XYZxyz(8.0165, 4.2306, 16.6107)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1773 #2C7317
analogous
#301773 #5E1773 #73175A
triadic
#5E1773 #735E17 #17735E
tetradic
#5E1773 #733017 #2C7317 #175A73
square
#5E1773 #733017 #2C7317 #175A73
split-complementary
#5E1773 #5A7317 #177330
monochromatic
#15051A #340D40 #5E1773 #8821A6 #AF2FD5

Accessibility & contrast

On white

11.38
#5E1773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#5E1773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1773
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1773#FFFFFF#000000##FFFFFF
##5E17731.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#183C71
Tritanopia (blue-blind)
#5D2B44
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5e1773;
/* rgb */ color: rgb(94, 23, 115);
/* oklch */ color: oklch(36.9% 0.154 317.1);
Tailwind
colors: {
  custom: {
    50: '#8f5d9c',
    500: '#5e1773',
    950: '#000000',
  },
}
SCSS
$custom: #5e1773;
$custom-light: #8f5d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1773",
  "rgb": {
    "r": 94,
    "g": 23,
    "b": 115
  },
  "hsl": {
    "h": 286.304,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.36852,
    "c": 0.15368,
    "h": 317.1
  },
  "luminance": 0.0423
}

Semantic roles & 50–950 ramp

primary
#5E1773
secondary
#56A93D
accent
#EA3E65
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #5E1773

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

Preview Lab → · Contrast checker → · Palette generator →

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