#5E29B9#5E29B9

#5E29B9 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.6% C 0.207 H 292.6°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#5E29B9
RGBrgb(94, 41, 185)
HSLhsl(262, 64%, 44%)
HSVhsv(262, 78%, 73%)
CMYKcmyk(49.2%, 77.8%, 0%, 27.5%)
CIE-LABlab(32.85, 54.53, -66.48)
CIE-LCHlch(32.85, 85.98, 309.36°)
OKLaboklab(44.59% 0.0795 -0.1909)
OKLCHoklch(44.59% 0.207 292.6)
XYZxyz(14.1635, 7.4678, 46.5847)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E29B9 #84B929
analogous
#293CB9 #5E29B9 #A629B9
triadic
#5E29B9 #B95E29 #29B95E
tetradic
#5E29B9 #B9293C #84B929 #29B9A6
square
#5E29B9 #B9293C #84B929 #29B9A6
split-complementary
#5E29B9 #B9A629 #3CB929
monochromatic
#2B1355 #451E87 #5E29B9 #7D49D7 #A17BE2

Accessibility & contrast

On white

8.42
#5E29B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#5E29B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E29B9
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E29B9#FFFFFF#000000##FFFFFF
##5E29B91.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBD
Deuteranopia (green-blind)
#004AB6
Tritanopia (blue-blind)
#415270
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5e29b9;
/* rgb */ color: rgb(94, 41, 185);
/* oklch */ color: oklch(44.6% 0.207 292.6);
Tailwind
colors: {
  custom: {
    50: '#9569cf',
    500: '#5e29b9',
    950: '#000000',
  },
}
SCSS
$custom: #5e29b9;
$custom-light: #9569cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5e29b9",
  "rgb": {
    "r": 94,
    "g": 41,
    "b": 185
  },
  "hsl": {
    "h": 262.083,
    "s": 63.717,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44586,
    "c": 0.20677,
    "h": 292.6
  },
  "luminance": 0.07468
}

Semantic roles & 50–950 ramp

primary
#5E29B9
secondary
#AACA74
accent
#E741AA
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5E29B9

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

Preview Lab → · Contrast checker → · Palette generator →

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