#5E1979#5E1979

#5E1979 is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.5% C 0.157 H 314.2°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#5E1979
RGBrgb(94, 25, 121)
HSLhsl(283, 66%, 29%)
HSVhsv(283, 79%, 47%)
CMYKcmyk(22.3%, 79.3%, 0%, 52.5%)
CIE-LABlab(25.12, 45.58, -39.87)
CIE-LCHlch(25.12, 60.56, 318.82°)
OKLaboklab(37.49% 0.1096 -0.1126)
OKLCHoklch(37.49% 0.157 314.2)
XYZxyz(8.4143, 4.4557, 18.5023)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1979 #347919
analogous
#2E1979 #5E1979 #791964
triadic
#5E1979 #795E19 #19795E
tetradic
#5E1979 #792E19 #347919 #196479
square
#5E1979 #792E19 #347919 #196479
split-complementary
#5E1979 #647919 #19792E
monochromatic
#140519 #370F46 #5E1979 #8523AC #A937D6

Accessibility & contrast

On white

11.11
#5E1979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#5E1979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1979
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1979#FFFFFF#000000##FFFFFF
##5E19791.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387C
Deuteranopia (green-blind)
#123D77
Tritanopia (blue-blind)
#5B2F48
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5e1979;
/* rgb */ color: rgb(94, 25, 121);
/* oklch */ color: oklch(37.5% 0.157 314.2);
Tailwind
colors: {
  custom: {
    50: '#8f5ea0',
    500: '#5e1979',
    950: '#000000',
  },
}
SCSS
$custom: #5e1979;
$custom-light: #8f5ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1979",
  "rgb": {
    "r": 94,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 283.125,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.37491,
    "c": 0.15718,
    "h": 314.2
  },
  "luminance": 0.04455
}

Semantic roles & 50–950 ramp

primary
#5E1979
secondary
#5FAE40
accent
#E93F6F
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D050F
muted
#7E797E

Preview Lab

Preview with #5E1979

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

Preview Lab → · Contrast checker → · Palette generator →

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