#5A29AA#5A29AA

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

Color values

HEX#5A29AA
RGBrgb(90, 41, 170)
HSLhsl(263, 61%, 41%)
HSVhsv(263, 76%, 67%)
CMYKcmyk(47.1%, 75.9%, 0%, 33.3%)
CIE-LABlab(31.02, 49.97, -60.55)
CIE-LCHlch(31.02, 78.50, 309.53°)
OKLaboklab(42.79% 0.0777 -0.1736)
OKLCHoklch(42.79% 0.19 294.1)
XYZxyz(12.2631, 6.6614, 38.6621)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A29AA #79AA29
analogous
#2939AA #5A29AA #9B29AA
triadic
#5A29AA #AA5A29 #29AA5A
tetradic
#5A29AA #AA2939 #79AA29 #29AA9B
square
#5A29AA #AA2939 #79AA29 #29AA9B
split-complementary
#5A29AA #AA9B29 #39AA29
monochromatic
#261147 #401D79 #5A29AA #773FD1 #9A71DD

Accessibility & contrast

On white

9.00
#5A29AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#5A29AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A29AA
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A29AA#FFFFFF#000000##FFFFFF
##5A29AA1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a29aa;
/* rgb */ color: rgb(90, 41, 170);
/* oklch */ color: oklch(42.8% 0.190 294.1);
Tailwind
colors: {
  custom: {
    50: '#9168c4',
    500: '#5a29aa',
    950: '#000000',
  },
}
SCSS
$custom: #5a29aa;
$custom-light: #9168c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a29aa",
  "rgb": {
    "r": 90,
    "g": 41,
    "b": 170
  },
  "hsl": {
    "h": 262.791,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42787,
    "c": 0.19019,
    "h": 294.1
  },
  "luminance": 0.06662
}

Semantic roles & 50–950 ramp

primary
#5A29AA
secondary
#A2C46B
accent
#E444A7
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5A29AA

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

Preview Lab → · Contrast checker → · Palette generator →

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