#5D29B9#5D29B9

#5D29B9 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.5% C 0.207 H 292.2°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#5D29B9
RGBrgb(93, 41, 185)
HSLhsl(262, 64%, 44%)
HSVhsv(262, 78%, 73%)
CMYKcmyk(49.7%, 77.8%, 0%, 27.5%)
CIE-LABlab(32.73, 54.38, -66.67)
CIE-LCHlch(32.73, 86.04, 309.20°)
OKLaboklab(44.48% 0.078 -0.1915)
OKLCHoklch(44.48% 0.207 292.2)
XYZxyz(14.0616, 7.4153, 46.5799)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D29B9 #85B929
analogous
#293DB9 #5D29B9 #A529B9
triadic
#5D29B9 #B95D29 #29B95D
tetradic
#5D29B9 #B9293D #85B929 #29B9A5
square
#5D29B9 #B9293D #85B929 #29B9A5
split-complementary
#5D29B9 #B9A529 #3DB929
monochromatic
#2B1355 #441E87 #5D29B9 #7C49D7 #A07BE2

Accessibility & contrast

On white

8.46
#5D29B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#5D29B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D29B9
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D29B9#FFFFFF#000000##FFFFFF
##5D29B91.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBD
Deuteranopia (green-blind)
#004AB6
Tritanopia (blue-blind)
#3F5270
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5d29b9;
/* rgb */ color: rgb(93, 41, 185);
/* oklch */ color: oklch(44.5% 0.207 292.2);
Tailwind
colors: {
  custom: {
    50: '#9469cf',
    500: '#5d29b9',
    950: '#000000',
  },
}
SCSS
$custom: #5d29b9;
$custom-light: #9469cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5d29b9",
  "rgb": {
    "r": 93,
    "g": 41,
    "b": 185
  },
  "hsl": {
    "h": 261.667,
    "s": 63.717,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4448,
    "c": 0.20674,
    "h": 292.2
  },
  "luminance": 0.07416
}

Semantic roles & 50–950 ramp

primary
#5D29B9
secondary
#ABCA74
accent
#E741AB
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5D29B9

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

Preview Lab → · Contrast checker → · Palette generator →

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