#5E29A5#5E29A5

#5E29A5 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.8% C 0.185 H 297.3°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#5E29A5
RGBrgb(94, 41, 165)
HSLhsl(266, 60%, 40%)
HSVhsv(266, 75%, 65%)
CMYKcmyk(43%, 75.2%, 0%, 35.3%)
CIE-LABlab(31.07, 49.32, -57.44)
CIE-LCHlch(31.07, 75.71, 310.65°)
OKLaboklab(42.8% 0.0849 -0.1643)
OKLCHoklch(42.8% 0.185 297.3)
XYZxyz(12.1988, 6.6819, 36.2370)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E29A5 #70A529
analogous
#2932A5 #5E29A5 #9C29A5
triadic
#5E29A5 #A55E29 #29A55E
tetradic
#5E29A5 #A52932 #70A529 #29A59C
square
#5E29A5 #A52932 #70A529 #29A59C
split-complementary
#5E29A5 #A59C29 #32A529
monochromatic
#261143 #421D74 #5E29A5 #7B3DCF #9C6EDB

Accessibility & contrast

On white

8.99
#5E29A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#5E29A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E29A5
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E29A5#FFFFFF#000000##FFFFFF
##5E29A51.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA9
Deuteranopia (green-blind)
#0048A3
Tritanopia (blue-blind)
#4C4965
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5e29a5;
/* rgb */ color: rgb(94, 41, 165);
/* oklch */ color: oklch(42.8% 0.185 297.3);
Tailwind
colors: {
  custom: {
    50: '#9268c1',
    500: '#5e29a5',
    950: '#000000',
  },
}
SCSS
$custom: #5e29a5;
$custom-light: #9268c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e29a5",
  "rgb": {
    "r": 94,
    "g": 41,
    "b": 165
  },
  "hsl": {
    "h": 265.645,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42796,
    "c": 0.185,
    "h": 297.3
  },
  "luminance": 0.06682
}

Semantic roles & 50–950 ramp

primary
#5E29A5
secondary
#9BC268
accent
#E3449F
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #5E29A5

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

Preview Lab → · Contrast checker → · Palette generator →

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