#5D29B8#5D29B8

#5D29B8 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.4% C 0.206 H 292.4°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#5D29B8
RGBrgb(93, 41, 184)
HSLhsl(262, 64%, 44%)
HSVhsv(262, 78%, 72%)
CMYKcmyk(49.5%, 77.7%, 0%, 27.8%)
CIE-LABlab(32.64, 54.12, -66.23)
CIE-LCHlch(32.64, 85.53, 309.25°)
OKLaboklab(44.39% 0.0783 -0.1902)
OKLCHoklch(44.39% 0.206 292.4)
XYZxyz(13.9564, 7.3732, 46.0259)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D29B8 #84B829
analogous
#293DB8 #5D29B8 #A529B8
triadic
#5D29B8 #B85D29 #29B85D
tetradic
#5D29B8 #B8293D #84B829 #29B8A5
square
#5D29B8 #B8293D #84B829 #29B8A5
split-complementary
#5D29B8 #B8A529 #3DB829
monochromatic
#2A1354 #441E86 #5D29B8 #7C48D6 #A07AE1

Accessibility & contrast

On white

8.49
#5D29B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#5D29B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D29B8
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D29B8#FFFFFF#000000##FFFFFF
##5D29B81.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBC
Deuteranopia (green-blind)
#004AB5
Tritanopia (blue-blind)
#3F5170
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5d29b8;
/* rgb */ color: rgb(93, 41, 184);
/* oklch */ color: oklch(44.4% 0.206 292.4);
Tailwind
colors: {
  custom: {
    50: '#9469ce',
    500: '#5d29b8',
    950: '#000000',
  },
}
SCSS
$custom: #5d29b8;
$custom-light: #9469ce;
$custom-dark: #000000;
JSON
{
  "hex": "#5d29b8",
  "rgb": {
    "r": 93,
    "g": 41,
    "b": 184
  },
  "hsl": {
    "h": 261.818,
    "s": 63.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44388,
    "c": 0.20566,
    "h": 292.4
  },
  "luminance": 0.07374
}

Semantic roles & 50–950 ramp

primary
#5D29B8
secondary
#AAC973
accent
#E741AA
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5D29B8

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

Preview Lab → · Contrast checker → · Palette generator →

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