#5D29A9#5D29A9

#5D29A9 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.0% C 0.189 H 295.8°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#5D29A9
RGBrgb(93, 41, 169)
HSLhsl(264, 61%, 41%)
HSVhsv(264, 76%, 66%)
CMYKcmyk(45%, 75.7%, 0%, 33.7%)
CIE-LABlab(31.29, 50.19, -59.49)
CIE-LCHlch(31.29, 77.83, 310.15°)
OKLaboklab(43.03% 0.0824 -0.1704)
OKLCHoklch(43.03% 0.189 295.8)
XYZxyz(12.4667, 6.7773, 38.1797)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D29A9 #75A929
analogous
#2935A9 #5D29A9 #9D29A9
triadic
#5D29A9 #A95D29 #29A95D
tetradic
#5D29A9 #A92935 #75A929 #29A99D
square
#5D29A9 #A92935 #75A929 #29A99D
split-complementary
#5D29A9 #A99D29 #35A929
monochromatic
#271146 #421D78 #5D29A9 #7A3FD0 #9C70DC

Accessibility & contrast

On white

8.91
#5D29A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#5D29A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D29A9
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D29A9#FFFFFF#000000##FFFFFF
##5D29A91.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAD
Deuteranopia (green-blind)
#0048A7
Tritanopia (blue-blind)
#484B67
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5d29a9;
/* rgb */ color: rgb(93, 41, 169);
/* oklch */ color: oklch(43.0% 0.189 295.8);
Tailwind
colors: {
  custom: {
    50: '#9268c4',
    500: '#5d29a9',
    950: '#000000',
  },
}
SCSS
$custom: #5d29a9;
$custom-light: #9268c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d29a9",
  "rgb": {
    "r": 93,
    "g": 41,
    "b": 169
  },
  "hsl": {
    "h": 264.375,
    "s": 60.952,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43032,
    "c": 0.18929,
    "h": 295.8
  },
  "luminance": 0.06778
}

Semantic roles & 50–950 ramp

primary
#5D29A9
secondary
#9FC36A
accent
#E444A3
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5D29A9

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

Preview Lab → · Contrast checker → · Palette generator →

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