#5E1679#5E1679

#5E1679 is a dark, vivid purple. Relative luminance 0.043; OKLCH L 37.2% C 0.160 H 314.5°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#5E1679
RGBrgb(94, 22, 121)
HSLhsl(284, 69%, 28%)
HSVhsv(284, 82%, 47%)
CMYKcmyk(22.3%, 81.8%, 0%, 52.5%)
CIE-LABlab(24.75, 46.67, -40.48)
CIE-LCHlch(24.75, 61.78, 319.06°)
OKLaboklab(37.23% 0.1123 -0.1144)
OKLCHoklch(37.23% 0.16 314.5)
XYZxyz(8.3536, 4.3343, 18.4820)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1679 #317916
analogous
#2C1679 #5E1679 #791662
triadic
#5E1679 #795E16 #16795E
tetradic
#5E1679 #792C16 #317916 #166279
square
#5E1679 #792C16 #317916 #166279
split-complementary
#5E1679 #627916 #16792C
monochromatic
#14051A #360D45 #5E1679 #861FAD #AB30D9

Accessibility & contrast

On white

11.25
#5E1679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1679
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1679#FFFFFF#000000##FFFFFF
##5E16791.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e1679;
/* rgb */ color: rgb(94, 22, 121);
/* oklch */ color: oklch(37.2% 0.160 314.5);
Tailwind
colors: {
  custom: {
    50: '#905da0',
    500: '#5e1679',
    950: '#000000',
  },
}
SCSS
$custom: #5e1679;
$custom-light: #905da0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1679",
  "rgb": {
    "r": 94,
    "g": 22,
    "b": 121
  },
  "hsl": {
    "h": 283.636,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37226,
    "c": 0.16033,
    "h": 314.5
  },
  "luminance": 0.04334
}

Semantic roles & 50–950 ramp

primary
#5E1679
secondary
#5CAE3D
accent
#EC3C6C
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D050F
muted
#7E797E

Preview Lab

Preview with #5E1679

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

Preview Lab → · Contrast checker → · Palette generator →

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