#5E29B2#5E29B2

#5E29B2 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.9% C 0.199 H 294.2°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#5E29B2
RGBrgb(94, 41, 178)
HSLhsl(263, 63%, 43%)
HSVhsv(263, 77%, 70%)
CMYKcmyk(47.2%, 77%, 0%, 30.2%)
CIE-LABlab(32.21, 52.70, -63.37)
CIE-LCHlch(32.21, 82.42, 309.75°)
OKLaboklab(43.95% 0.0815 -0.1817)
OKLCHoklch(43.95% 0.199 294.2)
XYZxyz(13.4427, 7.1795, 42.7884)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E29B2 #7DB229
analogous
#2938B2 #5E29B2 #A229B2
triadic
#5E29B2 #B25E29 #29B25E
tetradic
#5E29B2 #B22938 #7DB229 #29B2A2
square
#5E29B2 #B22938 #7DB229 #29B2A2
split-complementary
#5E29B2 #B2A229 #38B229
monochromatic
#29124F #441E80 #5E29B2 #7C44D4 #9F76DF

Accessibility & contrast

On white

8.62
#5E29B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#5E29B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E29B2
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E29B2#FFFFFF#000000##FFFFFF
##5E29B21.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB6
Deuteranopia (green-blind)
#0049AF
Tritanopia (blue-blind)
#454F6C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5e29b2;
/* rgb */ color: rgb(94, 41, 178);
/* oklch */ color: oklch(43.9% 0.199 294.2);
Tailwind
colors: {
  custom: {
    50: '#9469ca',
    500: '#5e29b2',
    950: '#000000',
  },
}
SCSS
$custom: #5e29b2;
$custom-light: #9469ca;
$custom-dark: #000000;
JSON
{
  "hex": "#5e29b2",
  "rgb": {
    "r": 94,
    "g": 41,
    "b": 178
  },
  "hsl": {
    "h": 263.212,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43947,
    "c": 0.19919,
    "h": 294.2
  },
  "luminance": 0.0718
}

Semantic roles & 50–950 ramp

primary
#5E29B2
secondary
#A5C770
accent
#E642A6
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5E29B2

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

Preview Lab → · Contrast checker → · Palette generator →

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