#5E29A3#5E29A3

#5E29A3 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.6% C 0.183 H 297.9°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#5E29A3
RGBrgb(94, 41, 163)
HSLhsl(266, 60%, 40%)
HSVhsv(266, 75%, 64%)
CMYKcmyk(42.3%, 74.8%, 0%, 36.1%)
CIE-LABlab(30.90, 48.80, -56.51)
CIE-LCHlch(30.90, 74.66, 310.81°)
OKLaboklab(42.62% 0.0854 -0.1616)
OKLCHoklch(42.62% 0.183 297.9)
XYZxyz(12.0182, 6.6097, 35.2858)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E29A3 #6EA329
analogous
#2931A3 #5E29A3 #9B29A3
triadic
#5E29A3 #A35E29 #29A35E
tetradic
#5E29A3 #A32931 #6EA329 #29A39B
square
#5E29A3 #A32931 #6EA329 #29A39B
split-complementary
#5E29A3 #A39B29 #31A329
monochromatic
#261041 #421D72 #5E29A3 #7B3BCE #9C6CDA

Accessibility & contrast

On white

9.04
#5E29A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#5E29A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E29A3
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E29A3#FFFFFF#000000##FFFFFF
##5E29A31.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A6
Deuteranopia (green-blind)
#0047A1
Tritanopia (blue-blind)
#4D4964
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5e29a3;
/* rgb */ color: rgb(94, 41, 163);
/* oklch */ color: oklch(42.6% 0.183 297.9);
Tailwind
colors: {
  custom: {
    50: '#9268bf',
    500: '#5e29a3',
    950: '#000000',
  },
}
SCSS
$custom: #5e29a3;
$custom-light: #9268bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5e29a3",
  "rgb": {
    "r": 94,
    "g": 41,
    "b": 163
  },
  "hsl": {
    "h": 266.066,
    "s": 59.804,
    "l": 40
  },
  "oklch": {
    "l": 0.42623,
    "c": 0.1828,
    "h": 297.9
  },
  "luminance": 0.0661
}

Semantic roles & 50–950 ramp

primary
#5E29A3
secondary
#9AC167
accent
#E3459E
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #5E29A3

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

Preview Lab → · Contrast checker → · Palette generator →

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