#5D2CB8#5D2CB8

#5D2CB8 is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.7% C 0.203 H 292.0°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#5D2CB8
RGBrgb(93, 44, 184)
HSLhsl(261, 61%, 45%)
HSVhsv(261, 76%, 72%)
CMYKcmyk(49.5%, 76.1%, 0%, 27.8%)
CIE-LABlab(33.11, 52.78, -65.46)
CIE-LCHlch(33.11, 84.09, 308.88°)
OKLaboklab(44.72% 0.076 -0.1879)
OKLCHoklch(44.72% 0.203 292)
XYZxyz(14.0642, 7.5887, 46.0618)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2CB8 #87B82C
analogous
#2C41B8 #5D2CB8 #A32CB8
triadic
#5D2CB8 #B85D2C #2CB85D
tetradic
#5D2CB8 #B82C41 #87B82C #2CB8A3
square
#5D2CB8 #B82C41 #87B82C #2CB8A3
split-complementary
#5D2CB8 #B8A32C #41B82C
monochromatic
#2B1455 #442087 #5D2CB8 #7C4DD4 #A17EE0

Accessibility & contrast

On white

8.34
#5D2CB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#5D2CB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2CB8
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2CB8#FFFFFF#000000##FFFFFF
##5D2CB81.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BC
Deuteranopia (green-blind)
#004BB5
Tritanopia (blue-blind)
#3F5371
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5d2cb8;
/* rgb */ color: rgb(93, 44, 184);
/* oklch */ color: oklch(44.7% 0.203 292.0);
Tailwind
colors: {
  custom: {
    50: '#946bce',
    500: '#5d2cb8',
    950: '#000000',
  },
}
SCSS
$custom: #5d2cb8;
$custom-light: #946bce;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2cb8",
  "rgb": {
    "r": 93,
    "g": 44,
    "b": 184
  },
  "hsl": {
    "h": 261,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44716,
    "c": 0.20272,
    "h": 292
  },
  "luminance": 0.07589
}

Semantic roles & 50–950 ramp

primary
#5D2CB8
secondary
#ACC977
accent
#E543AC
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5D2CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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