#5D2AB0#5D2AB0

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

Color values

HEX#5D2AB0
RGBrgb(93, 42, 176)
HSLhsl(263, 61%, 43%)
HSVhsv(263, 76%, 69%)
CMYKcmyk(47.2%, 76.1%, 0%, 31%)
CIE-LABlab(32.07, 51.57, -62.41)
CIE-LCHlch(32.07, 80.96, 309.57°)
OKLaboklab(43.77% 0.0798 -0.179)
OKLCHoklch(43.77% 0.196 294)
XYZxyz(13.1765, 7.1173, 41.7454)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2AB0 #7DB02A
analogous
#2A3AB0 #5D2AB0 #A02AB0
triadic
#5D2AB0 #B05D2A #2AB05D
tetradic
#5D2AB0 #B02A3A #7DB02A #2AB0A0
square
#5D2AB0 #B02A3A #7DB02A #2AB0A0
split-complementary
#5D2AB0 #B0A02A #3AB02A
monochromatic
#29124D #431E7F #5D2AB0 #7B45D3 #9E76DE

Accessibility & contrast

On white

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

On black

2.42
#5D2AB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5D2AB0#FFFFFF#000000##FFFFFF
##5D2AB01.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d2ab0;
/* rgb */ color: rgb(93, 42, 176);
/* oklch */ color: oklch(43.8% 0.196 294.0);
Tailwind
colors: {
  custom: {
    50: '#9369c9',
    500: '#5d2ab0',
    950: '#000000',
  },
}
SCSS
$custom: #5d2ab0;
$custom-light: #9369c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2ab0",
  "rgb": {
    "r": 93,
    "g": 42,
    "b": 176
  },
  "hsl": {
    "h": 262.836,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.43768,
    "c": 0.19594,
    "h": 294
  },
  "luminance": 0.07118
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D2AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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