#5D29AB#5D29AB

#5D29AB is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.2% C 0.191 H 295.3°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#5D29AB
RGBrgb(93, 41, 171)
HSLhsl(264, 61%, 42%)
HSVhsv(264, 76%, 67%)
CMYKcmyk(45.6%, 76%, 0%, 32.9%)
CIE-LABlab(31.47, 50.71, -60.40)
CIE-LCHlch(31.47, 78.87, 310.01°)
OKLaboklab(43.21% 0.0819 -0.1731)
OKLCHoklch(43.21% 0.191 295.3)
XYZxyz(12.6558, 6.8530, 39.1761)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D29AB #77AB29
analogous
#2936AB #5D29AB #9E29AB
triadic
#5D29AB #AB5D29 #29AB5D
tetradic
#5D29AB #AB2936 #77AB29 #29AB9E
square
#5D29AB #AB2936 #77AB29 #29AB9E
split-complementary
#5D29AB #AB9E29 #36AB29
monochromatic
#271148 #421D7A #5D29AB #7A40D1 #9C71DD

Accessibility & contrast

On white

8.86
#5D29AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D29AB
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D29AB#FFFFFF#000000##FFFFFF
##5D29AB1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAF
Deuteranopia (green-blind)
#0048A9
Tritanopia (blue-blind)
#474C68
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5d29ab;
/* rgb */ color: rgb(93, 41, 171);
/* oklch */ color: oklch(43.2% 0.191 295.3);
Tailwind
colors: {
  custom: {
    50: '#9268c5',
    500: '#5d29ab',
    950: '#000000',
  },
}
SCSS
$custom: #5d29ab;
$custom-light: #9268c5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d29ab",
  "rgb": {
    "r": 93,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 264,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43209,
    "c": 0.19149,
    "h": 295.3
  },
  "luminance": 0.06853
}

Semantic roles & 50–950 ramp

primary
#5D29AB
secondary
#A1C46C
accent
#E443A4
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5D29AB

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

Preview Lab → · Contrast checker → · Palette generator →

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