#5D20A0#5D20A0

#5D20A0 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.3% C 0.189 H 299.3°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#5D20A0
RGBrgb(93, 32, 160)
HSLhsl(269, 67%, 38%)
HSVhsv(269, 80%, 63%)
CMYKcmyk(41.9%, 80%, 0%, 37.3%)
CIE-LABlab(29.15, 51.77, -57.55)
CIE-LCHlch(29.15, 77.41, 311.97°)
OKLaboklab(41.29% 0.0924 -0.1646)
OKLCHoklch(41.29% 0.189 299.3)
XYZxyz(11.3743, 5.8981, 33.7901)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D20A0 #63A020
analogous
#2023A0 #5D20A0 #9D20A0
triadic
#5D20A0 #A05D20 #20A05D
tetradic
#5D20A0 #A02023 #63A020 #20A09D
square
#5D20A0 #A02023 #63A020 #20A09D
split-complementary
#5D20A0 #A09D20 #23A020
monochromatic
#220C3A #3F166D #5D20A0 #7B2AD3 #9A5CDE

Accessibility & contrast

On white

9.63
#5D20A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#5D20A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D20A0
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D20A0#FFFFFF#000000##FFFFFF
##5D20A01.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#00449E
Tritanopia (blue-blind)
#4D4360
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5d20a0;
/* rgb */ color: rgb(93, 32, 160);
/* oklch */ color: oklch(41.3% 0.189 299.3);
Tailwind
colors: {
  custom: {
    50: '#9263bd',
    500: '#5d20a0',
    950: '#000000',
  },
}
SCSS
$custom: #5d20a0;
$custom-light: #9263bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d20a0",
  "rgb": {
    "r": 93,
    "g": 32,
    "b": 160
  },
  "hsl": {
    "h": 268.594,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4129,
    "c": 0.18881,
    "h": 299.3
  },
  "luminance": 0.05898
}

Semantic roles & 50–950 ramp

primary
#5D20A0
secondary
#90C359
accent
#EA3E98
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #5D20A0

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

Preview Lab → · Contrast checker → · Palette generator →

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