#5E29A9#5E29A9

#5E29A9 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.1% C 0.189 H 296.3°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#5E29A9
RGBrgb(94, 41, 169)
HSLhsl(265, 61%, 41%)
HSVhsv(265, 76%, 66%)
CMYKcmyk(44.4%, 75.7%, 0%, 33.7%)
CIE-LABlab(31.42, 50.35, -59.29)
CIE-LCHlch(31.42, 77.78, 310.34°)
OKLaboklab(43.15% 0.0839 -0.1698)
OKLCHoklch(43.15% 0.189 296.3)
XYZxyz(12.5686, 6.8299, 38.1845)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E29A9 #74A929
analogous
#2934A9 #5E29A9 #9E29A9
triadic
#5E29A9 #A95E29 #29A95E
tetradic
#5E29A9 #A92934 #74A929 #29A99E
square
#5E29A9 #A92934 #74A929 #29A99E
split-complementary
#5E29A9 #A99E29 #34A929
monochromatic
#271146 #431D78 #5E29A9 #7B3FD0 #9D70DC

Accessibility & contrast

On white

8.88
#5E29A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#5E29A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E29A9
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E29A9#FFFFFF#000000##FFFFFF
##5E29A91.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAD
Deuteranopia (green-blind)
#0048A7
Tritanopia (blue-blind)
#4A4B67
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5e29a9;
/* rgb */ color: rgb(94, 41, 169);
/* oklch */ color: oklch(43.1% 0.189 296.3);
Tailwind
colors: {
  custom: {
    50: '#9368c4',
    500: '#5e29a9',
    950: '#000000',
  },
}
SCSS
$custom: #5e29a9;
$custom-light: #9368c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e29a9",
  "rgb": {
    "r": 94,
    "g": 41,
    "b": 169
  },
  "hsl": {
    "h": 264.844,
    "s": 60.952,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43145,
    "c": 0.18938,
    "h": 296.3
  },
  "luminance": 0.0683
}

Semantic roles & 50–950 ramp

primary
#5E29A9
secondary
#9FC36A
accent
#E444A2
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5E29A9

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

Preview Lab → · Contrast checker → · Palette generator →

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