#5D29BF#5D29BF

#5D29BF is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.0% C 0.213 H 290.9°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#5D29BF
RGBrgb(93, 41, 191)
HSLhsl(261, 65%, 45%)
HSVhsv(261, 79%, 75%)
CMYKcmyk(51.3%, 78.5%, 0%, 25.1%)
CIE-LABlab(33.29, 55.96, -69.30)
CIE-LCHlch(33.29, 89.07, 308.92°)
OKLaboklab(45.04% 0.0762 -0.1991)
OKLCHoklch(45.04% 0.213 290.9)
XYZxyz(14.7084, 7.6740, 49.9864)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D29BF #8BBF29
analogous
#2940BF #5D29BF #A829BF
triadic
#5D29BF #BF5D29 #29BF5D
tetradic
#5D29BF #BF2940 #8BBF29 #29BFA8
square
#5D29BF #BF2940 #8BBF29 #29BFA8
split-complementary
#5D29BF #BFA829 #40BF29
monochromatic
#2C135A #441E8D #5D29BF #7D4DD9 #A27FE4

Accessibility & contrast

On white

8.28
#5D29BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#5D29BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D29BF
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D29BF#FFFFFF#000000##FFFFFF
##5D29BF1.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C3
Deuteranopia (green-blind)
#004BBC
Tritanopia (blue-blind)
#3A5474
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5d29bf;
/* rgb */ color: rgb(93, 41, 191);
/* oklch */ color: oklch(45.0% 0.213 290.9);
Tailwind
colors: {
  custom: {
    50: '#9569d4',
    500: '#5d29bf',
    950: '#000000',
  },
}
SCSS
$custom: #5d29bf;
$custom-light: #9569d4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d29bf",
  "rgb": {
    "r": 93,
    "g": 41,
    "b": 191
  },
  "hsl": {
    "h": 260.8,
    "s": 64.655,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4504,
    "c": 0.21322,
    "h": 290.9
  },
  "luminance": 0.07675
}

Semantic roles & 50–950 ramp

primary
#5D29BF
secondary
#AFCC78
accent
#E840AE
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5D29BF

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

Preview Lab → · Contrast checker → · Palette generator →

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