#5E1680#5E1680

#5E1680 is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.8% C 0.167 H 311.6°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#5E1680
RGBrgb(94, 22, 128)
HSLhsl(281, 71%, 29%)
HSVhsv(281, 83%, 50%)
CMYKcmyk(26.6%, 82.8%, 0%, 49.8%)
CIE-LABlab(25.30, 48.18, -44.03)
CIE-LCHlch(25.30, 65.27, 317.57°)
OKLaboklab(37.79% 0.1108 -0.1248)
OKLCHoklch(37.79% 0.167 311.6)
XYZxyz(8.7985, 4.5123, 20.8254)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1680 #388016
analogous
#291680 #5E1680 #80166D
triadic
#5E1680 #805E16 #16805E
tetradic
#5E1680 #802916 #388016 #166D80
square
#5E1680 #802916 #388016 #166D80
split-complementary
#5E1680 #6D8016 #168029
monochromatic
#13041A #380D4C #5E1680 #841FB4 #A634DC

Accessibility & contrast

On white

11.04
#5E1680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#5E1680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1680
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1680#FFFFFF#000000##FFFFFF
##5E16801.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003983
Deuteranopia (green-blind)
#003D7E
Tritanopia (blue-blind)
#5A314C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5e1680;
/* rgb */ color: rgb(94, 22, 128);
/* oklch */ color: oklch(37.8% 0.167 311.6);
Tailwind
colors: {
  custom: {
    50: '#905da6',
    500: '#5e1680',
    950: '#000000',
  },
}
SCSS
$custom: #5e1680;
$custom-light: #905da6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1680",
  "rgb": {
    "r": 94,
    "g": 22,
    "b": 128
  },
  "hsl": {
    "h": 280.755,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.37785,
    "c": 0.1669,
    "h": 311.6
  },
  "luminance": 0.04512
}

Semantic roles & 50–950 ramp

primary
#5E1680
secondary
#63B53D
accent
#ED3A74
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #5E1680

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

Preview Lab → · Contrast checker → · Palette generator →

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