#5D29BC#5D29BC

#5D29BC is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.8% C 0.210 H 291.5°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#5D29BC
RGBrgb(93, 41, 188)
HSLhsl(261, 64%, 45%)
HSVhsv(261, 78%, 74%)
CMYKcmyk(50.5%, 78.2%, 0%, 26.3%)
CIE-LABlab(33.01, 55.17, -67.99)
CIE-LCHlch(33.01, 87.56, 309.06°)
OKLaboklab(44.76% 0.0771 -0.1953)
OKLCHoklch(44.76% 0.21 291.5)
XYZxyz(14.3817, 7.5433, 48.2654)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D29BC #88BC29
analogous
#293FBC #5D29BC #A629BC
triadic
#5D29BC #BC5D29 #29BC5D
tetradic
#5D29BC #BC293F #88BC29 #29BCA6
square
#5D29BC #BC293F #88BC29 #29BCA6
split-complementary
#5D29BC #BCA629 #3FBC29
monochromatic
#2B1358 #441E8A #5D29BC #7C4BD8 #A17DE3

Accessibility & contrast

On white

8.37
#5D29BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#5D29BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D29BC
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D29BC#FFFFFF#000000##FFFFFF
##5D29BC1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C0
Deuteranopia (green-blind)
#004AB9
Tritanopia (blue-blind)
#3C5372
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5d29bc;
/* rgb */ color: rgb(93, 41, 188);
/* oklch */ color: oklch(44.8% 0.210 291.5);
Tailwind
colors: {
  custom: {
    50: '#9569d1',
    500: '#5d29bc',
    950: '#000000',
  },
}
SCSS
$custom: #5d29bc;
$custom-light: #9569d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d29bc",
  "rgb": {
    "r": 93,
    "g": 41,
    "b": 188
  },
  "hsl": {
    "h": 261.224,
    "s": 64.192,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44759,
    "c": 0.20998,
    "h": 291.5
  },
  "luminance": 0.07544
}

Semantic roles & 50–950 ramp

primary
#5D29BC
secondary
#ADCB76
accent
#E741AC
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5D29BC

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

Preview Lab → · Contrast checker → · Palette generator →

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