#5D2CB0#5D2CB0

#5D2CB0 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.0% C 0.194 H 293.8°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#5D2CB0
RGBrgb(93, 44, 176)
HSLhsl(262, 60%, 43%)
HSVhsv(262, 75%, 69%)
CMYKcmyk(47.2%, 75%, 0%, 31%)
CIE-LABlab(32.40, 50.64, -61.88)
CIE-LCHlch(32.40, 79.96, 309.30°)
OKLaboklab(44% 0.0781 -0.1774)
OKLCHoklch(44% 0.194 293.8)
XYZxyz(13.2492, 7.2627, 41.7696)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2CB0 #7FB02C
analogous
#2C3DB0 #5D2CB0 #9F2CB0
triadic
#5D2CB0 #B05D2C #2CB05D
tetradic
#5D2CB0 #B02C3D #7FB02C #2CB09F
square
#5D2CB0 #B02C3D #7FB02C #2CB09F
split-complementary
#5D2CB0 #B09F2C #3DB02C
monochromatic
#29144E #43207F #5D2CB0 #7B48D1 #9E79DD

Accessibility & contrast

On white

8.56
#5D2CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#5D2CB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2CB0
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2CB0#FFFFFF#000000##FFFFFF
##5D2CB01.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB4
Deuteranopia (green-blind)
#004AAD
Tritanopia (blue-blind)
#444F6C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5d2cb0;
/* rgb */ color: rgb(93, 44, 176);
/* oklch */ color: oklch(44.0% 0.194 293.8);
Tailwind
colors: {
  custom: {
    50: '#936ac9',
    500: '#5d2cb0',
    950: '#000000',
  },
}
SCSS
$custom: #5d2cb0;
$custom-light: #936ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2cb0",
  "rgb": {
    "r": 93,
    "g": 44,
    "b": 176
  },
  "hsl": {
    "h": 262.273,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.43996,
    "c": 0.19384,
    "h": 293.8
  },
  "luminance": 0.07263
}

Semantic roles & 50–950 ramp

primary
#5D2CB0
secondary
#A7C672
accent
#E345A8
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5D2CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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