#5E2CAD#5E2CAD

#5E2CAD is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.8% C 0.191 H 294.9°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#5E2CAD
RGBrgb(94, 44, 173)
HSLhsl(263, 59%, 43%)
HSVhsv(263, 75%, 68%)
CMYKcmyk(45.7%, 74.6%, 0%, 32.2%)
CIE-LABlab(32.25, 50.01, -60.32)
CIE-LCHlch(32.25, 78.35, 309.66°)
OKLaboklab(43.84% 0.0803 -0.1728)
OKLCHoklch(43.84% 0.191 294.9)
XYZxyz(13.0576, 7.1978, 40.2284)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2CAD #7BAD2C
analogous
#2C3AAD #5E2CAD #9F2CAD
triadic
#5E2CAD #AD5E2C #2CAD5E
tetradic
#5E2CAD #AD2C3A #7BAD2C #2CAD9F
square
#5E2CAD #AD2C3A #7BAD2C #2CAD9F
split-complementary
#5E2CAD #AD9F2C #3AAD2C
monochromatic
#29134B #43207C #5E2CAD #7C46D0 #9E77DC

Accessibility & contrast

On white

8.61
#5E2CAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#5E2CAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2CAD
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2CAD#FFFFFF#000000##FFFFFF
##5E2CAD1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB1
Deuteranopia (green-blind)
#004AAB
Tritanopia (blue-blind)
#474E6A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5e2cad;
/* rgb */ color: rgb(94, 44, 173);
/* oklch */ color: oklch(43.8% 0.191 294.9);
Tailwind
colors: {
  custom: {
    50: '#936ac6',
    500: '#5e2cad',
    950: '#000000',
  },
}
SCSS
$custom: #5e2cad;
$custom-light: #936ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2cad",
  "rgb": {
    "r": 94,
    "g": 44,
    "b": 173
  },
  "hsl": {
    "h": 263.256,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4384,
    "c": 0.19056,
    "h": 294.9
  },
  "luminance": 0.07198
}

Semantic roles & 50–950 ramp

primary
#5E2CAD
secondary
#A4C471
accent
#E345A6
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5E2CAD

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

Preview Lab → · Contrast checker → · Palette generator →

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