#5D20BC#5D20BC

#5D20BC is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.9% C 0.218 H 292.4°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#5D20BC
RGBrgb(93, 32, 188)
HSLhsl(263, 71%, 43%)
HSVhsv(263, 83%, 74%)
CMYKcmyk(50.5%, 83%, 0%, 26.3%)
CIE-LABlab(31.79, 58.75, -70.01)
CIE-LCHlch(31.79, 91.39, 310.00°)
OKLaboklab(43.91% 0.0831 -0.2011)
OKLCHoklch(43.91% 0.218 292.4)
XYZxyz(14.1053, 6.9905, 48.1733)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D20BC #7FBC20
analogous
#2031BC #5D20BC #AB20BC
triadic
#5D20BC #BC5D20 #20BC5D
tetradic
#5D20BC #BC2031 #7FBC20 #20BCAB
square
#5D20BC #BC2031 #7FBC20 #20BCAB
split-complementary
#5D20BC #BCAB20 #31BC20
monochromatic
#290E53 #431788 #5D20BC #7B3BDE #9E70E7

Accessibility & contrast

On white

8.76
#5D20BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#5D20BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D20BC
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D20BC#FFFFFF#000000##FFFFFF
##5D20BC1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC0
Deuteranopia (green-blind)
#0048B9
Tritanopia (blue-blind)
#3D4F70
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5d20bc;
/* rgb */ color: rgb(93, 32, 188);
/* oklch */ color: oklch(43.9% 0.218 292.4);
Tailwind
colors: {
  custom: {
    50: '#9565d1',
    500: '#5d20bc',
    950: '#000000',
  },
}
SCSS
$custom: #5d20bc;
$custom-light: #9565d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d20bc",
  "rgb": {
    "r": 93,
    "g": 32,
    "b": 188
  },
  "hsl": {
    "h": 263.462,
    "s": 70.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.43909,
    "c": 0.21762,
    "h": 292.4
  },
  "luminance": 0.06991
}

Semantic roles & 50–950 ramp

primary
#5D20BC
secondary
#A7CD6B
accent
#EE3AA7
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #5D20BC

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

Preview Lab → · Contrast checker → · Palette generator →

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