#5D2AB3#5D2AB3

#5D2AB3 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.0% C 0.199 H 293.3°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#5D2AB3
RGBrgb(93, 42, 179)
HSLhsl(262, 62%, 43%)
HSVhsv(262, 77%, 70%)
CMYKcmyk(48%, 76.5%, 0%, 29.8%)
CIE-LABlab(32.34, 52.36, -63.76)
CIE-LCHlch(32.34, 82.50, 309.39°)
OKLaboklab(44.04% 0.0789 -0.1829)
OKLCHoklch(44.04% 0.199 293.3)
XYZxyz(13.4766, 7.2373, 43.3260)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2AB3 #80B32A
analogous
#2A3BB3 #5D2AB3 #A12AB3
triadic
#5D2AB3 #B35D2A #2AB35D
tetradic
#5D2AB3 #B32A3B #80B32A #2AB3A1
square
#5D2AB3 #B32A3B #80B32A #2AB3A1
split-complementary
#5D2AB3 #B3A12A #3BB32A
monochromatic
#291350 #431E81 #5D2AB3 #7B46D4 #9F78DF

Accessibility & contrast

On white

8.58
#5D2AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#5D2AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2AB3
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2AB3#FFFFFF#000000##FFFFFF
##5D2AB31.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#42506D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5d2ab3;
/* rgb */ color: rgb(93, 42, 179);
/* oklch */ color: oklch(44.0% 0.199 293.3);
Tailwind
colors: {
  custom: {
    50: '#9369cb',
    500: '#5d2ab3',
    950: '#000000',
  },
}
SCSS
$custom: #5d2ab3;
$custom-light: #9369cb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2ab3",
  "rgb": {
    "r": 93,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 262.336,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44038,
    "c": 0.19923,
    "h": 293.3
  },
  "luminance": 0.07238
}

Semantic roles & 50–950 ramp

primary
#5D2AB3
secondary
#A7C772
accent
#E543A9
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5D2AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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