#5E1779#5E1779

#5E1779 is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.3% C 0.159 H 314.4°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#5E1779
RGBrgb(94, 23, 121)
HSLhsl(283, 68%, 28%)
HSVhsv(283, 81%, 47%)
CMYKcmyk(22.3%, 81%, 0%, 52.5%)
CIE-LABlab(24.87, 46.32, -40.29)
CIE-LCHlch(24.87, 61.39, 318.98°)
OKLaboklab(37.31% 0.1115 -0.1138)
OKLCHoklch(37.31% 0.159 314.4)
XYZxyz(8.3731, 4.3732, 18.4885)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1779 #327917
analogous
#2D1779 #5E1779 #791763
triadic
#5E1779 #795E17 #17795E
tetradic
#5E1779 #792D17 #327917 #176379
square
#5E1779 #792D17 #327917 #176379
split-complementary
#5E1779 #637917 #17792D
monochromatic
#14051A #360D46 #5E1779 #8621AC #AA32D8

Accessibility & contrast

On white

11.20
#5E1779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1779
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1779#FFFFFF#000000##FFFFFF
##5E17791.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377C
Deuteranopia (green-blind)
#0F3D77
Tritanopia (blue-blind)
#5B2E48
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5e1779;
/* rgb */ color: rgb(94, 23, 121);
/* oklch */ color: oklch(37.3% 0.159 314.4);
Tailwind
colors: {
  custom: {
    50: '#8f5da0',
    500: '#5e1779',
    950: '#000000',
  },
}
SCSS
$custom: #5e1779;
$custom-light: #8f5da0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1779",
  "rgb": {
    "r": 94,
    "g": 23,
    "b": 121
  },
  "hsl": {
    "h": 283.469,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37311,
    "c": 0.15931,
    "h": 314.4
  },
  "luminance": 0.04373
}

Semantic roles & 50–950 ramp

primary
#5E1779
secondary
#5DAE3E
accent
#EB3D6D
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D050F
muted
#7E797E

Preview Lab

Preview with #5E1779

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

Preview Lab → · Contrast checker → · Palette generator →

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