#5E29B1#5E29B1

#5E29B1 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.9% C 0.198 H 294.4°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#5E29B1
RGBrgb(94, 41, 177)
HSLhsl(263, 62%, 43%)
HSVhsv(263, 77%, 69%)
CMYKcmyk(46.9%, 76.8%, 0%, 30.6%)
CIE-LABlab(32.12, 52.44, -62.92)
CIE-LCHlch(32.12, 81.90, 309.81°)
OKLaboklab(43.86% 0.0818 -0.1804)
OKLCHoklch(43.86% 0.198 294.4)
XYZxyz(13.3427, 7.1395, 42.2615)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E29B1 #7CB129
analogous
#2938B1 #5E29B1 #A229B1
triadic
#5E29B1 #B15E29 #29B15E
tetradic
#5E29B1 #B12938 #7CB129 #29B1A2
square
#5E29B1 #B12938 #7CB129 #29B1A2
split-complementary
#5E29B1 #B1A229 #38B129
monochromatic
#29124E #441D7F #5E29B1 #7C44D4 #9F75DF

Accessibility & contrast

On white

8.65
#5E29B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#5E29B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E29B1
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E29B1#FFFFFF#000000##FFFFFF
##5E29B11.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB5
Deuteranopia (green-blind)
#0049AE
Tritanopia (blue-blind)
#454E6C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5e29b1;
/* rgb */ color: rgb(94, 41, 177);
/* oklch */ color: oklch(43.9% 0.198 294.4);
Tailwind
colors: {
  custom: {
    50: '#9469c9',
    500: '#5e29b1',
    950: '#000000',
  },
}
SCSS
$custom: #5e29b1;
$custom-light: #9469c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e29b1",
  "rgb": {
    "r": 94,
    "g": 41,
    "b": 177
  },
  "hsl": {
    "h": 263.382,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.43857,
    "c": 0.19811,
    "h": 294.4
  },
  "luminance": 0.0714
}

Semantic roles & 50–950 ramp

primary
#5E29B1
secondary
#A5C76F
accent
#E542A6
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5E29B1

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

Preview Lab → · Contrast checker → · Palette generator →

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