#5D29B2#5D29B2

#5D29B2 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.8% C 0.199 H 293.7°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#5D29B2
RGBrgb(93, 41, 178)
HSLhsl(263, 63%, 43%)
HSVhsv(263, 77%, 70%)
CMYKcmyk(47.8%, 77%, 0%, 30.2%)
CIE-LABlab(32.09, 52.54, -63.57)
CIE-LCHlch(32.09, 82.47, 309.58°)
OKLaboklab(43.84% 0.08 -0.1824)
OKLCHoklch(43.84% 0.199 293.7)
XYZxyz(13.3408, 7.1270, 42.7836)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D29B2 #7EB229
analogous
#2939B2 #5D29B2 #A129B2
triadic
#5D29B2 #B25D29 #29B25D
tetradic
#5D29B2 #B22939 #7EB229 #29B2A1
square
#5D29B2 #B22939 #7EB229 #29B2A1
split-complementary
#5D29B2 #B2A129 #39B229
monochromatic
#29124F #431E80 #5D29B2 #7B44D4 #9E76DF

Accessibility & contrast

On white

8.66
#5D29B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#5D29B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D29B2
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D29B2#FFFFFF#000000##FFFFFF
##5D29B21.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB6
Deuteranopia (green-blind)
#0049AF
Tritanopia (blue-blind)
#434F6C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5d29b2;
/* rgb */ color: rgb(93, 41, 178);
/* oklch */ color: oklch(43.8% 0.199 293.7);
Tailwind
colors: {
  custom: {
    50: '#9369ca',
    500: '#5d29b2',
    950: '#000000',
  },
}
SCSS
$custom: #5d29b2;
$custom-light: #9369ca;
$custom-dark: #000000;
JSON
{
  "hex": "#5d29b2",
  "rgb": {
    "r": 93,
    "g": 41,
    "b": 178
  },
  "hsl": {
    "h": 262.774,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43838,
    "c": 0.19914,
    "h": 293.7
  },
  "luminance": 0.07127
}

Semantic roles & 50–950 ramp

primary
#5D29B2
secondary
#A6C770
accent
#E642A8
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5D29B2

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

Preview Lab → · Contrast checker → · Palette generator →

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