#5E29B6#5E29B6

#5E29B6 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.3% C 0.204 H 293.3°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#5E29B6
RGBrgb(94, 41, 182)
HSLhsl(263, 63%, 44%)
HSVhsv(263, 77%, 71%)
CMYKcmyk(48.4%, 77.5%, 0%, 28.6%)
CIE-LABlab(32.57, 53.74, -65.15)
CIE-LCHlch(32.57, 84.46, 309.52°)
OKLaboklab(44.31% 0.0804 -0.187)
OKLCHoklch(44.31% 0.204 293.3)
XYZxyz(13.8502, 7.3425, 44.9344)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E29B6 #81B629
analogous
#293AB6 #5E29B6 #A429B6
triadic
#5E29B6 #B65E29 #29B65E
tetradic
#5E29B6 #B6293A #81B629 #29B6A4
square
#5E29B6 #B6293A #81B629 #29B6A4
split-complementary
#5E29B6 #B6A429 #3AB629
monochromatic
#2A1252 #441E84 #5E29B6 #7C47D5 #A079E1

Accessibility & contrast

On white

8.51
#5E29B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#5E29B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E29B6
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E29B6#FFFFFF#000000##FFFFFF
##5E29B61.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBA
Deuteranopia (green-blind)
#004AB3
Tritanopia (blue-blind)
#42506F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5e29b6;
/* rgb */ color: rgb(94, 41, 182);
/* oklch */ color: oklch(44.3% 0.204 293.3);
Tailwind
colors: {
  custom: {
    50: '#9469cd',
    500: '#5e29b6',
    950: '#000000',
  },
}
SCSS
$custom: #5e29b6;
$custom-light: #9469cd;
$custom-dark: #000000;
JSON
{
  "hex": "#5e29b6",
  "rgb": {
    "r": 94,
    "g": 41,
    "b": 182
  },
  "hsl": {
    "h": 262.553,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44311,
    "c": 0.20353,
    "h": 293.3
  },
  "luminance": 0.07343
}

Semantic roles & 50–950 ramp

primary
#5E29B6
secondary
#A8C972
accent
#E642A8
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5E29B6

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

Preview Lab → · Contrast checker → · Palette generator →

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