#5D2CB3#5D2CB3

#5D2CB3 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.3% C 0.197 H 293.1°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#5D2CB3
RGBrgb(93, 44, 179)
HSLhsl(262, 61%, 44%)
HSVhsv(262, 75%, 70%)
CMYKcmyk(48%, 75.4%, 0%, 29.8%)
CIE-LABlab(32.66, 51.44, -63.23)
CIE-LCHlch(32.66, 81.51, 309.13°)
OKLaboklab(44.26% 0.0773 -0.1814)
OKLCHoklch(44.26% 0.197 293.1)
XYZxyz(13.5493, 7.3827, 43.3502)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2CB3 #82B32C
analogous
#2C3EB3 #5D2CB3 #A02CB3
triadic
#5D2CB3 #B35D2C #2CB35D
tetradic
#5D2CB3 #B32C3E #82B32C #2CB3A0
square
#5D2CB3 #B32C3E #82B32C #2CB3A0
split-complementary
#5D2CB3 #B3A02C #3EB32C
monochromatic
#2A1451 #432082 #5D2CB3 #7B4AD2 #9F7BDF

Accessibility & contrast

On white

8.48
#5D2CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#5D2CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2CB3
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2CB3#FFFFFF#000000##FFFFFF
##5D2CB31.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#42516E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5d2cb3;
/* rgb */ color: rgb(93, 44, 179);
/* oklch */ color: oklch(44.3% 0.197 293.1);
Tailwind
colors: {
  custom: {
    50: '#936acb',
    500: '#5d2cb3',
    950: '#000000',
  },
}
SCSS
$custom: #5d2cb3;
$custom-light: #936acb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2cb3",
  "rgb": {
    "r": 93,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 261.778,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44264,
    "c": 0.19718,
    "h": 293.1
  },
  "luminance": 0.07383
}

Semantic roles & 50–950 ramp

primary
#5D2CB3
secondary
#A9C774
accent
#E444AA
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5D2CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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