#5D2AB8#5D2AB8

#5D2AB8 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.5% C 0.205 H 292.3°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#5D2AB8
RGBrgb(93, 42, 184)
HSLhsl(262, 63%, 44%)
HSVhsv(262, 77%, 72%)
CMYKcmyk(49.5%, 77.2%, 0%, 27.8%)
CIE-LABlab(32.80, 53.68, -65.98)
CIE-LCHlch(32.80, 85.06, 309.13°)
OKLaboklab(44.5% 0.0775 -0.1894)
OKLCHoklch(44.5% 0.205 292.3)
XYZxyz(13.9915, 7.4433, 46.0376)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2AB8 #85B82A
analogous
#2A3EB8 #5D2AB8 #A42AB8
triadic
#5D2AB8 #B85D2A #2AB85D
tetradic
#5D2AB8 #B82A3E #85B82A #2AB8A4
square
#5D2AB8 #B82A3E #85B82A #2AB8A4
split-complementary
#5D2AB8 #B8A42A #3EB82A
monochromatic
#2B1354 #441F86 #5D2AB8 #7C4AD6 #A07BE1

Accessibility & contrast

On white

8.44
#5D2AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#5D2AB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2AB8
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2AB8#FFFFFF#000000##FFFFFF
##5D2AB81.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBC
Deuteranopia (green-blind)
#004AB5
Tritanopia (blue-blind)
#3F5270
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5d2ab8;
/* rgb */ color: rgb(93, 42, 184);
/* oklch */ color: oklch(44.5% 0.205 292.3);
Tailwind
colors: {
  custom: {
    50: '#946ace',
    500: '#5d2ab8',
    950: '#000000',
  },
}
SCSS
$custom: #5d2ab8;
$custom-light: #946ace;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2ab8",
  "rgb": {
    "r": 93,
    "g": 42,
    "b": 184
  },
  "hsl": {
    "h": 261.549,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44495,
    "c": 0.2047,
    "h": 292.3
  },
  "luminance": 0.07444
}

Semantic roles & 50–950 ramp

primary
#5D2AB8
secondary
#ABC975
accent
#E642AB
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5D2AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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