#5E29B0#5E29B0

#5E29B0 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.8% C 0.197 H 294.6°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#5E29B0
RGBrgb(94, 41, 176)
HSLhsl(264, 62%, 43%)
HSVhsv(264, 77%, 69%)
CMYKcmyk(46.6%, 76.7%, 0%, 31%)
CIE-LABlab(32.03, 52.17, -62.47)
CIE-LCHlch(32.03, 81.39, 309.87°)
OKLaboklab(43.77% 0.0821 -0.1791)
OKLCHoklch(43.77% 0.197 294.6)
XYZxyz(13.2434, 7.0998, 41.7385)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E29B0 #7BB029
analogous
#2937B0 #5E29B0 #A229B0
triadic
#5E29B0 #B05E29 #29B05E
tetradic
#5E29B0 #B02937 #7BB029 #29B0A2
square
#5E29B0 #B02937 #7BB029 #29B0A2
split-complementary
#5E29B0 #B0A229 #37B029
monochromatic
#29124D #431D7E #5E29B0 #7C43D3 #9E75DF

Accessibility & contrast

On white

8.68
#5E29B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#5E29B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E29B0
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E29B0#FFFFFF#000000##FFFFFF
##5E29B01.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB4
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#464E6B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5e29b0;
/* rgb */ color: rgb(94, 41, 176);
/* oklch */ color: oklch(43.8% 0.197 294.6);
Tailwind
colors: {
  custom: {
    50: '#9469c9',
    500: '#5e29b0',
    950: '#000000',
  },
}
SCSS
$custom: #5e29b0;
$custom-light: #9469c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e29b0",
  "rgb": {
    "r": 94,
    "g": 41,
    "b": 176
  },
  "hsl": {
    "h": 263.556,
    "s": 62.212,
    "l": 42.549
  },
  "oklch": {
    "l": 0.43767,
    "c": 0.19702,
    "h": 294.6
  },
  "luminance": 0.071
}

Semantic roles & 50–950 ramp

primary
#5E29B0
secondary
#A4C66F
accent
#E543A5
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5E29B0

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

Preview Lab → · Contrast checker → · Palette generator →

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