#5D2AB6#5D2AB6

#5D2AB6 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.3% C 0.203 H 292.7°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#5D2AB6
RGBrgb(93, 42, 182)
HSLhsl(262, 63%, 44%)
HSVhsv(262, 77%, 71%)
CMYKcmyk(48.9%, 76.9%, 0%, 28.6%)
CIE-LABlab(32.61, 53.15, -65.10)
CIE-LCHlch(32.61, 84.04, 309.23°)
OKLaboklab(44.31% 0.0781 -0.1868)
OKLCHoklch(44.31% 0.203 292.7)
XYZxyz(13.7833, 7.3600, 44.9413)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2AB6 #83B62A
analogous
#2A3DB6 #5D2AB6 #A32AB6
triadic
#5D2AB6 #B65D2A #2AB65D
tetradic
#5D2AB6 #B62A3D #83B62A #2AB6A3
square
#5D2AB6 #B62A3D #83B62A #2AB6A3
split-complementary
#5D2AB6 #B6A32A #3DB62A
monochromatic
#2A1353 #441F84 #5D2AB6 #7C48D5 #9F7AE0

Accessibility & contrast

On white

8.50
#5D2AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#5D2AB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2AB6
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2AB6#FFFFFF#000000##FFFFFF
##5D2AB61.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d2ab6;
/* rgb */ color: rgb(93, 42, 182);
/* oklch */ color: oklch(44.3% 0.203 292.7);
Tailwind
colors: {
  custom: {
    50: '#9469cd',
    500: '#5d2ab6',
    950: '#000000',
  },
}
SCSS
$custom: #5d2ab6;
$custom-light: #9469cd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2ab6",
  "rgb": {
    "r": 93,
    "g": 42,
    "b": 182
  },
  "hsl": {
    "h": 261.857,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44311,
    "c": 0.20251,
    "h": 292.7
  },
  "luminance": 0.0736
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D2AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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