#5E1980#5E1980

#5E1980 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 38.0% C 0.164 H 311.3°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#5E1980
RGBrgb(94, 25, 128)
HSLhsl(280, 67%, 30%)
HSVhsv(280, 80%, 50%)
CMYKcmyk(26.6%, 80.5%, 0%, 49.8%)
CIE-LABlab(25.66, 47.11, -43.43)
CIE-LCHlch(25.66, 64.08, 317.33°)
OKLaboklab(38.04% 0.1083 -0.1231)
OKLCHoklch(38.04% 0.164 311.3)
XYZxyz(8.8593, 4.6337, 20.8456)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1980 #3B8019
analogous
#2A1980 #5E1980 #80196F
triadic
#5E1980 #805E19 #19805E
tetradic
#5E1980 #802A19 #3B8019 #196F80
square
#5E1980 #802A19 #3B8019 #196F80
split-complementary
#5E1980 #6F8019 #19802A
monochromatic
#13051A #380F4D #5E1980 #8423B3 #A53BD9

Accessibility & contrast

On white

10.90
#5E1980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#5E1980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1980
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1980#FFFFFF#000000##FFFFFF
##5E19801.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A83
Deuteranopia (green-blind)
#013E7E
Tritanopia (blue-blind)
#5A324C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5e1980;
/* rgb */ color: rgb(94, 25, 128);
/* oklch */ color: oklch(38.0% 0.164 311.3);
Tailwind
colors: {
  custom: {
    50: '#905fa6',
    500: '#5e1980',
    950: '#000000',
  },
}
SCSS
$custom: #5e1980;
$custom-light: #905fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1980",
  "rgb": {
    "r": 94,
    "g": 25,
    "b": 128
  },
  "hsl": {
    "h": 280.194,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.38042,
    "c": 0.16392,
    "h": 311.3
  },
  "luminance": 0.04633
}

Semantic roles & 50–950 ramp

primary
#5E1980
secondary
#67B441
accent
#EA3E77
background
#F9F5FA
surface
#F1EAF4
border
#CBC6CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #5E1980

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

Preview Lab → · Contrast checker → · Palette generator →

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