#5B29AA#5B29AA

#5B29AA is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.9% C 0.190 H 294.6°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#5B29AA
RGBrgb(91, 41, 170)
HSLhsl(263, 61%, 41%)
HSVhsv(263, 76%, 67%)
CMYKcmyk(46.5%, 75.9%, 0%, 33.3%)
CIE-LABlab(31.14, 50.12, -60.35)
CIE-LCHlch(31.14, 78.45, 309.71°)
OKLaboklab(42.9% 0.0792 -0.173)
OKLCHoklch(42.9% 0.19 294.6)
XYZxyz(12.3610, 6.7120, 38.6667)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B29AA #78AA29
analogous
#2938AA #5B29AA #9C29AA
triadic
#5B29AA #AA5B29 #29AA5B
tetradic
#5B29AA #AA2938 #78AA29 #29AA9C
square
#5B29AA #AA2938 #78AA29 #29AA9C
split-complementary
#5B29AA #AA9C29 #38AA29
monochromatic
#261147 #411D79 #5B29AA #783FD1 #9B71DD

Accessibility & contrast

On white

8.97
#5B29AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B29AA
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B29AA#FFFFFF#000000##FFFFFF
##5B29AA1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAE
Deuteranopia (green-blind)
#0047A8
Tritanopia (blue-blind)
#444C68
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5b29aa;
/* rgb */ color: rgb(91, 41, 170);
/* oklch */ color: oklch(42.9% 0.190 294.6);
Tailwind
colors: {
  custom: {
    50: '#9168c4',
    500: '#5b29aa',
    950: '#000000',
  },
}
SCSS
$custom: #5b29aa;
$custom-light: #9168c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b29aa",
  "rgb": {
    "r": 91,
    "g": 41,
    "b": 170
  },
  "hsl": {
    "h": 263.256,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42897,
    "c": 0.19025,
    "h": 294.6
  },
  "luminance": 0.06712
}

Semantic roles & 50–950 ramp

primary
#5B29AA
secondary
#A1C46B
accent
#E444A6
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5B29AA

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

Preview Lab → · Contrast checker → · Palette generator →

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