#5B29AD#5B29AD

#5B29AD is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.2% C 0.194 H 293.9°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#5B29AD
RGBrgb(91, 41, 173)
HSLhsl(263, 62%, 42%)
HSVhsv(263, 76%, 68%)
CMYKcmyk(47.4%, 76.3%, 0%, 32.2%)
CIE-LABlab(31.41, 50.92, -61.71)
CIE-LCHlch(31.41, 80.01, 309.53°)
OKLaboklab(43.17% 0.0784 -0.177)
OKLCHoklch(43.17% 0.194 293.9)
XYZxyz(12.6481, 6.8268, 40.1783)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B29AD #7BAD29
analogous
#2939AD #5B29AD #9D29AD
triadic
#5B29AD #AD5B29 #29AD5B
tetradic
#5B29AD #AD2939 #7BAD29 #29AD9D
square
#5B29AD #AD2939 #7BAD29 #29AD9D
split-complementary
#5B29AD #AD9D29 #39AD29
monochromatic
#27124A #411D7C #5B29AD #7841D2 #9B73DE

Accessibility & contrast

On white

8.88
#5B29AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#5B29AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B29AD
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B29AD#FFFFFF#000000##FFFFFF
##5B29AD1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB1
Deuteranopia (green-blind)
#0048AA
Tritanopia (blue-blind)
#424D6A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5b29ad;
/* rgb */ color: rgb(91, 41, 173);
/* oklch */ color: oklch(43.2% 0.194 293.9);
Tailwind
colors: {
  custom: {
    50: '#9268c7',
    500: '#5b29ad',
    950: '#000000',
  },
}
SCSS
$custom: #5b29ad;
$custom-light: #9268c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b29ad",
  "rgb": {
    "r": 91,
    "g": 41,
    "b": 173
  },
  "hsl": {
    "h": 262.727,
    "s": 61.682,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43167,
    "c": 0.19357,
    "h": 293.9
  },
  "luminance": 0.06827
}

Semantic roles & 50–950 ramp

primary
#5B29AD
secondary
#A4C56D
accent
#E543A8
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5B29AD

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

Preview Lab → · Contrast checker → · Palette generator →

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