#5E1CA9#5E1CA9

#5E1CA9 is a dark, highly saturated violet. Relative luminance 0.061; OKLCH L 41.9% C 0.202 H 297.8°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#5E1CA9
RGBrgb(94, 28, 169)
HSLhsl(268, 72%, 39%)
HSVhsv(268, 83%, 66%)
CMYKcmyk(44.4%, 83.4%, 0%, 33.7%)
CIE-LABlab(29.60, 55.61, -62.26)
CIE-LCHlch(29.60, 83.48, 311.77°)
OKLaboklab(41.88% 0.0939 -0.1784)
OKLCHoklch(41.88% 0.202 297.8)
XYZxyz(12.1909, 6.0745, 38.0586)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1CA9 #67A91C
analogous
#1C20A9 #5E1CA9 #A41CA9
triadic
#5E1CA9 #A95E1C #1CA95E
tetradic
#5E1CA9 #A91C20 #67A91C #1CA9A4
square
#5E1CA9 #A91C20 #67A91C #1CA9A4
split-complementary
#5E1CA9 #A9A41C #20A91C
monochromatic
#240B40 #411374 #5E1CA9 #7B27DB #9B5BE4

Accessibility & contrast

On white

9.48
#5E1CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#5E1CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1CA9
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1CA9#FFFFFF#000000##FFFFFF
##5E1CA91.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AD
Deuteranopia (green-blind)
#0044A6
Tritanopia (blue-blind)
#4A4665
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5e1ca9;
/* rgb */ color: rgb(94, 28, 169);
/* oklch */ color: oklch(41.9% 0.202 297.8);
Tailwind
colors: {
  custom: {
    50: '#9462c4',
    500: '#5e1ca9',
    950: '#000000',
  },
}
SCSS
$custom: #5e1ca9;
$custom-light: #9462c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1ca9",
  "rgb": {
    "r": 94,
    "g": 28,
    "b": 169
  },
  "hsl": {
    "h": 268.085,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4188,
    "c": 0.20159,
    "h": 297.8
  },
  "luminance": 0.06075
}

Semantic roles & 50–950 ramp

primary
#5E1CA9
secondary
#94C859
accent
#EE399A
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5E1CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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