#5D29B0#5D29B0

#5D29B0 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.7% C 0.197 H 294.1°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#5D29B0
RGBrgb(93, 41, 176)
HSLhsl(263, 62%, 43%)
HSVhsv(263, 77%, 69%)
CMYKcmyk(47.2%, 76.7%, 0%, 31%)
CIE-LABlab(31.91, 52.02, -62.67)
CIE-LCHlch(31.91, 81.45, 309.70°)
OKLaboklab(43.66% 0.0806 -0.1797)
OKLCHoklch(43.66% 0.197 294.1)
XYZxyz(13.1415, 7.0472, 41.7337)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D29B0 #7CB029
analogous
#2939B0 #5D29B0 #A029B0
triadic
#5D29B0 #B05D29 #29B05D
tetradic
#5D29B0 #B02939 #7CB029 #29B0A0
square
#5D29B0 #B02939 #7CB029 #29B0A0
split-complementary
#5D29B0 #B0A029 #39B029
monochromatic
#29124D #431D7E #5D29B0 #7B43D3 #9E75DF

Accessibility & contrast

On white

8.72
#5D29B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#5D29B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D29B0
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D29B0#FFFFFF#000000##FFFFFF
##5D29B01.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB4
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#444E6B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5d29b0;
/* rgb */ color: rgb(93, 41, 176);
/* oklch */ color: oklch(43.7% 0.197 294.1);
Tailwind
colors: {
  custom: {
    50: '#9369c9',
    500: '#5d29b0',
    950: '#000000',
  },
}
SCSS
$custom: #5d29b0;
$custom-light: #9369c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d29b0",
  "rgb": {
    "r": 93,
    "g": 41,
    "b": 176
  },
  "hsl": {
    "h": 263.111,
    "s": 62.212,
    "l": 42.549
  },
  "oklch": {
    "l": 0.43657,
    "c": 0.19696,
    "h": 294.1
  },
  "luminance": 0.07048
}

Semantic roles & 50–950 ramp

primary
#5D29B0
secondary
#A4C66F
accent
#E543A7
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5D29B0

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

Preview Lab → · Contrast checker → · Palette generator →

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