#5E29A2#5E29A2

#5E29A2 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.5% C 0.182 H 298.1°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#5E29A2
RGBrgb(94, 41, 162)
HSLhsl(266, 60%, 40%)
HSVhsv(266, 75%, 64%)
CMYKcmyk(42%, 74.7%, 0%, 36.5%)
CIE-LABlab(30.82, 48.54, -56.04)
CIE-LCHlch(30.82, 74.14, 310.90°)
OKLaboklab(42.54% 0.0856 -0.1602)
OKLCHoklch(42.54% 0.182 298.1)
XYZxyz(11.9289, 6.5740, 34.8158)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E29A2 #6DA229
analogous
#2931A2 #5E29A2 #9B29A2
triadic
#5E29A2 #A25E29 #29A25E
tetradic
#5E29A2 #A22931 #6DA229 #29A29B
square
#5E29A2 #A22931 #6DA229 #29A29B
split-complementary
#5E29A2 #A29B29 #31A229
monochromatic
#251040 #421D71 #5E29A2 #7B3BCD #9C6CDA

Accessibility & contrast

On white

9.07
#5E29A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#5E29A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E29A2
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E29A2#FFFFFF#000000##FFFFFF
##5E29A21.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#0047A0
Tritanopia (blue-blind)
#4D4863
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5e29a2;
/* rgb */ color: rgb(94, 41, 162);
/* oklch */ color: oklch(42.5% 0.182 298.1);
Tailwind
colors: {
  custom: {
    50: '#9268be',
    500: '#5e29a2',
    950: '#000000',
  },
}
SCSS
$custom: #5e29a2;
$custom-light: #9268be;
$custom-dark: #000000;
JSON
{
  "hex": "#5e29a2",
  "rgb": {
    "r": 94,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 266.281,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42537,
    "c": 0.1817,
    "h": 298.1
  },
  "luminance": 0.06574
}

Semantic roles & 50–950 ramp

primary
#5E29A2
secondary
#99C067
accent
#E3459E
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #5E29A2

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

Preview Lab → · Contrast checker → · Palette generator →

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