#5E29AF#5E29AF

#5E29AF is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.7% C 0.196 H 294.9°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#5E29AF
RGBrgb(94, 41, 175)
HSLhsl(264, 62%, 42%)
HSVhsv(264, 77%, 69%)
CMYKcmyk(46.3%, 76.6%, 0%, 31.4%)
CIE-LABlab(31.94, 51.91, -62.02)
CIE-LCHlch(31.94, 80.88, 309.93°)
OKLaboklab(43.68% 0.0824 -0.1778)
OKLCHoklch(43.68% 0.196 294.9)
XYZxyz(13.1448, 7.0603, 41.2193)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E29AF #7AAF29
analogous
#2937AF #5E29AF #A129AF
triadic
#5E29AF #AF5E29 #29AF5E
tetradic
#5E29AF #AF2937 #7AAF29 #29AFA1
square
#5E29AF #AF2937 #7AAF29 #29AFA1
split-complementary
#5E29AF #AFA129 #37AF29
monochromatic
#29124C #431D7D #5E29AF #7C42D3 #9E74DE

Accessibility & contrast

On white

8.71
#5E29AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#5E29AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E29AF
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E29AF#FFFFFF#000000##FFFFFF
##5E29AF1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#474D6B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5e29af;
/* rgb */ color: rgb(94, 41, 175);
/* oklch */ color: oklch(43.7% 0.196 294.9);
Tailwind
colors: {
  custom: {
    50: '#9469c8',
    500: '#5e29af',
    950: '#000000',
  },
}
SCSS
$custom: #5e29af;
$custom-light: #9469c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e29af",
  "rgb": {
    "r": 94,
    "g": 41,
    "b": 175
  },
  "hsl": {
    "h": 263.731,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43677,
    "c": 0.19593,
    "h": 294.9
  },
  "luminance": 0.07061
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E29AF

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

Preview Lab → · Contrast checker → · Palette generator →

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