#5E1A73#5E1A73

#5E1A73 is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.1% C 0.150 H 316.8°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#5E1A73
RGBrgb(94, 26, 115)
HSLhsl(286, 63%, 28%)
HSVhsv(286, 77%, 45%)
CMYKcmyk(18.3%, 77.4%, 0%, 54.9%)
CIE-LABlab(24.82, 43.91, -36.54)
CIE-LCHlch(24.82, 57.12, 320.24°)
OKLaboklab(37.13% 0.1096 -0.1028)
OKLCHoklch(37.13% 0.15 316.8)
XYZxyz(8.0795, 4.3566, 16.6317)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1A73 #2F731A
analogous
#321A73 #5E1A73 #731A5B
triadic
#5E1A73 #735E1A #1A735E
tetradic
#5E1A73 #73321A #2F731A #1A5B73
square
#5E1A73 #73321A #2F731A #1A5B73
split-complementary
#5E1A73 #5B731A #1A7332
monochromatic
#140619 #350F41 #5E1A73 #8725A5 #AD36D2

Accessibility & contrast

On white

11.22
#5E1A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#5E1A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1A73
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1A73#FFFFFF#000000##FFFFFF
##5E1A731.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003775
Deuteranopia (green-blind)
#1B3D71
Tritanopia (blue-blind)
#5D2D45
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5e1a73;
/* rgb */ color: rgb(94, 26, 115);
/* oklch */ color: oklch(37.1% 0.150 316.8);
Tailwind
colors: {
  custom: {
    50: '#8f5e9c',
    500: '#5e1a73',
    950: '#000000',
  },
}
SCSS
$custom: #5e1a73;
$custom-light: #8f5e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1a73",
  "rgb": {
    "r": 94,
    "g": 26,
    "b": 115
  },
  "hsl": {
    "h": 285.843,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.37134,
    "c": 0.15027,
    "h": 316.8
  },
  "luminance": 0.04356
}

Semantic roles & 50–950 ramp

primary
#5E1A73
secondary
#59A841
accent
#E64268
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #5E1A73

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

Preview Lab → · Contrast checker → · Palette generator →

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