#5D2AB5#5D2AB5

#5D2AB5 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.2% C 0.201 H 292.9°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#5D2AB5
RGBrgb(93, 42, 181)
HSLhsl(262, 62%, 44%)
HSVhsv(262, 77%, 71%)
CMYKcmyk(48.6%, 76.8%, 0%, 29%)
CIE-LABlab(32.52, 52.89, -64.65)
CIE-LCHlch(32.52, 83.53, 309.28°)
OKLaboklab(44.22% 0.0784 -0.1855)
OKLCHoklch(44.22% 0.201 292.9)
XYZxyz(13.6803, 7.3188, 44.3990)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2AB5 #82B52A
analogous
#2A3DB5 #5D2AB5 #A22AB5
triadic
#5D2AB5 #B55D2A #2AB55D
tetradic
#5D2AB5 #B52A3D #82B52A #2AB5A2
square
#5D2AB5 #B52A3D #82B52A #2AB5A2
split-complementary
#5D2AB5 #B5A22A #3DB52A
monochromatic
#2A1352 #431E83 #5D2AB5 #7B48D4 #9F79E0

Accessibility & contrast

On white

8.52
#5D2AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#5D2AB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2AB5
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2AB5#FFFFFF#000000##FFFFFF
##5D2AB51.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB9
Deuteranopia (green-blind)
#004AB2
Tritanopia (blue-blind)
#41506E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5d2ab5;
/* rgb */ color: rgb(93, 42, 181);
/* oklch */ color: oklch(44.2% 0.201 292.9);
Tailwind
colors: {
  custom: {
    50: '#9469cc',
    500: '#5d2ab5',
    950: '#000000',
  },
}
SCSS
$custom: #5d2ab5;
$custom-light: #9469cc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2ab5",
  "rgb": {
    "r": 93,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 262.014,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4422,
    "c": 0.20142,
    "h": 292.9
  },
  "luminance": 0.07319
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D2AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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