#5E29B8#5E29B8

#5E29B8 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.5% C 0.206 H 292.8°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#5E29B8
RGBrgb(94, 41, 184)
HSLhsl(262, 64%, 44%)
HSVhsv(262, 78%, 72%)
CMYKcmyk(48.9%, 77.7%, 0%, 27.8%)
CIE-LABlab(32.76, 54.26, -66.04)
CIE-LCHlch(32.76, 85.47, 309.41°)
OKLaboklab(44.49% 0.0798 -0.1896)
OKLCHoklch(44.49% 0.206 292.8)
XYZxyz(14.0583, 7.4258, 46.0307)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E29B8 #83B829
analogous
#293BB8 #5E29B8 #A629B8
triadic
#5E29B8 #B85E29 #29B85E
tetradic
#5E29B8 #B8293B #83B829 #29B8A6
square
#5E29B8 #B8293B #83B829 #29B8A6
split-complementary
#5E29B8 #B8A629 #3BB829
monochromatic
#2B1354 #441E86 #5E29B8 #7D48D6 #A07AE1

Accessibility & contrast

On white

8.45
#5E29B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E29B8
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E29B8#FFFFFF#000000##FFFFFF
##5E29B81.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBC
Deuteranopia (green-blind)
#004AB5
Tritanopia (blue-blind)
#415170
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5e29b8;
/* rgb */ color: rgb(94, 41, 184);
/* oklch */ color: oklch(44.5% 0.206 292.8);
Tailwind
colors: {
  custom: {
    50: '#9569ce',
    500: '#5e29b8',
    950: '#000000',
  },
}
SCSS
$custom: #5e29b8;
$custom-light: #9569ce;
$custom-dark: #000000;
JSON
{
  "hex": "#5e29b8",
  "rgb": {
    "r": 94,
    "g": 41,
    "b": 184
  },
  "hsl": {
    "h": 262.238,
    "s": 63.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44494,
    "c": 0.20569,
    "h": 292.8
  },
  "luminance": 0.07426
}

Semantic roles & 50–950 ramp

primary
#5E29B8
secondary
#AAC973
accent
#E741A9
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5E29B8

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

Preview Lab → · Contrast checker → · Palette generator →

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