#5D29B6#5D29B6

#5D29B6 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.2% C 0.203 H 292.8°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#5D29B6
RGBrgb(93, 41, 182)
HSLhsl(262, 63%, 44%)
HSVhsv(262, 77%, 71%)
CMYKcmyk(48.9%, 77.5%, 0%, 28.6%)
CIE-LABlab(32.46, 53.59, -65.35)
CIE-LCHlch(32.46, 84.52, 309.36°)
OKLaboklab(44.2% 0.0789 -0.1876)
OKLCHoklch(44.2% 0.203 292.8)
XYZxyz(13.7483, 7.2900, 44.9296)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D29B6 #82B629
analogous
#293BB6 #5D29B6 #A329B6
triadic
#5D29B6 #B65D29 #29B65D
tetradic
#5D29B6 #B6293B #82B629 #29B6A3
square
#5D29B6 #B6293B #82B629 #29B6A3
split-complementary
#5D29B6 #B6A329 #3BB629
monochromatic
#2A1252 #431E84 #5D29B6 #7B47D5 #9F79E1

Accessibility & contrast

On white

8.54
#5D29B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#5D29B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D29B6
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D29B6#FFFFFF#000000##FFFFFF
##5D29B61.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBA
Deuteranopia (green-blind)
#004AB3
Tritanopia (blue-blind)
#41506F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5d29b6;
/* rgb */ color: rgb(93, 41, 182);
/* oklch */ color: oklch(44.2% 0.203 292.8);
Tailwind
colors: {
  custom: {
    50: '#9469cd',
    500: '#5d29b6',
    950: '#000000',
  },
}
SCSS
$custom: #5d29b6;
$custom-light: #9469cd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d29b6",
  "rgb": {
    "r": 93,
    "g": 41,
    "b": 182
  },
  "hsl": {
    "h": 262.128,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44203,
    "c": 0.20349,
    "h": 292.8
  },
  "luminance": 0.0729
}

Semantic roles & 50–950 ramp

primary
#5D29B6
secondary
#A9C972
accent
#E642AA
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5D29B6

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

Preview Lab → · Contrast checker → · Palette generator →

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