#5E1D90#5E1D90

#5E1D90 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.176 H 305.1°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#5E1D90
RGBrgb(94, 29, 144)
HSLhsl(274, 66%, 34%)
HSVhsv(274, 80%, 56%)
CMYKcmyk(34.7%, 79.9%, 0%, 43.5%)
CIE-LABlab(27.50, 49.25, -50.45)
CIE-LCHlch(27.50, 70.50, 314.31°)
OKLaboklab(39.73% 0.1009 -0.1437)
OKLCHoklch(39.73% 0.176 305.1)
XYZxyz(10.0884, 5.2721, 26.8663)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1D90 #4F901D
analogous
#251D90 #5E1D90 #901D89
triadic
#5E1D90 #905E1D #1D905E
tetradic
#5E1D90 #90251D #4F901D #1D8990
square
#5E1D90 #90251D #4F901D #1D8990
split-complementary
#5E1D90 #89901D #1D9025
monochromatic
#1B082A #3D135D #5E1D90 #7F27C3 #9D4CDB

Accessibility & contrast

On white

10.22
#5E1D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#5E1D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1D90
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1D90#FFFFFF#000000##FFFFFF
##5E1D901.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#00418E
Tritanopia (blue-blind)
#543B56
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #5e1d90;
/* rgb */ color: rgb(94, 29, 144);
/* oklch */ color: oklch(39.7% 0.176 305.1);
Tailwind
colors: {
  custom: {
    50: '#9161b1',
    500: '#5e1d90',
    950: '#000000',
  },
}
SCSS
$custom: #5e1d90;
$custom-light: #9161b1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1d90",
  "rgb": {
    "r": 94,
    "g": 29,
    "b": 144
  },
  "hsl": {
    "h": 273.913,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39734,
    "c": 0.1756,
    "h": 305.1
  },
  "luminance": 0.05272
}

Semantic roles & 50–950 ramp

primary
#5E1D90
secondary
#7DBD4B
accent
#E93E89
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #5E1D90

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

Preview Lab → · Contrast checker → · Palette generator →

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