#5D2CBA#5D2CBA

#5D2CBA is a dark, highly saturated violet. Relative luminance 0.077; OKLCH L 44.9% C 0.205 H 291.6°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#5D2CBA
RGBrgb(93, 44, 186)
HSLhsl(261, 62%, 45%)
HSVhsv(261, 76%, 73%)
CMYKcmyk(50%, 76.3%, 0%, 27.1%)
CIE-LABlab(33.29, 53.31, -66.35)
CIE-LCHlch(33.29, 85.11, 308.78°)
OKLaboklab(44.9% 0.0754 -0.1905)
OKLCHoklch(44.9% 0.205 291.6)
XYZxyz(14.2753, 7.6731, 47.1738)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2CBA #89BA2C
analogous
#2C42BA #5D2CBA #A42CBA
triadic
#5D2CBA #BA5D2C #2CBA5D
tetradic
#5D2CBA #BA2C42 #89BA2C #2CBAA4
square
#5D2CBA #BA2C42 #89BA2C #2CBAA4
split-complementary
#5D2CBA #BAA42C #42BA2C
monochromatic
#2C1557 #442089 #5D2CBA #7D4ED5 #A180E1

Accessibility & contrast

On white

8.28
#5D2CBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#5D2CBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2CBA
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2CBA#FFFFFF#000000##FFFFFF
##5D2CBA1.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BE
Deuteranopia (green-blind)
#004BB7
Tritanopia (blue-blind)
#3E5372
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5d2cba;
/* rgb */ color: rgb(93, 44, 186);
/* oklch */ color: oklch(44.9% 0.205 291.6);
Tailwind
colors: {
  custom: {
    50: '#946bd0',
    500: '#5d2cba',
    950: '#000000',
  },
}
SCSS
$custom: #5d2cba;
$custom-light: #946bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2cba",
  "rgb": {
    "r": 93,
    "g": 44,
    "b": 186
  },
  "hsl": {
    "h": 260.704,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.44898,
    "c": 0.20492,
    "h": 291.6
  },
  "luminance": 0.07674
}

Semantic roles & 50–950 ramp

primary
#5D2CBA
secondary
#AECA78
accent
#E543AD
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5D2CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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