#5D20A9#5D20A9

#5D20A9 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.1% C 0.198 H 296.9°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#5D20A9
RGBrgb(93, 32, 169)
HSLhsl(267, 68%, 39%)
HSVhsv(267, 81%, 66%)
CMYKcmyk(45%, 81.1%, 0%, 33.7%)
CIE-LABlab(29.97, 54.00, -61.66)
CIE-LCHlch(29.97, 81.96, 311.21°)
OKLaboklab(42.11% 0.0896 -0.1767)
OKLCHoklch(42.11% 0.198 296.9)
XYZxyz(12.1902, 6.2245, 38.0876)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D20A9 #6CA920
analogous
#2028A9 #5D20A9 #A220A9
triadic
#5D20A9 #A95D20 #20A95D
tetradic
#5D20A9 #A92028 #6CA920 #20A9A2
square
#5D20A9 #A92028 #6CA920 #20A9A2
split-complementary
#5D20A9 #A9A220 #28A920
monochromatic
#240D42 #411676 #5D20A9 #7A2FD8 #9B62E1

Accessibility & contrast

On white

9.35
#5D20A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#5D20A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D20A9
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D20A9#FFFFFF#000000##FFFFFF
##5D20A91.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#0045A6
Tritanopia (blue-blind)
#484765
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5d20a9;
/* rgb */ color: rgb(93, 32, 169);
/* oklch */ color: oklch(42.1% 0.198 296.9);
Tailwind
colors: {
  custom: {
    50: '#9364c4',
    500: '#5d20a9',
    950: '#000000',
  },
}
SCSS
$custom: #5d20a9;
$custom-light: #9364c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d20a9",
  "rgb": {
    "r": 93,
    "g": 32,
    "b": 169
  },
  "hsl": {
    "h": 266.715,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42108,
    "c": 0.1981,
    "h": 296.9
  },
  "luminance": 0.06225
}

Semantic roles & 50–950 ramp

primary
#5D20A9
secondary
#98C65F
accent
#EB3D9D
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5D20A9

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

Preview Lab → · Contrast checker → · Palette generator →

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