#5D207A#5D207A

#5D207A is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.1% C 0.149 H 312.5°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#5D207A
RGBrgb(93, 32, 122)
HSLhsl(281, 58%, 30%)
HSVhsv(281, 74%, 48%)
CMYKcmyk(23.8%, 73.8%, 0%, 52.2%)
CIE-LABlab(26.06, 42.69, -39.01)
CIE-LCHlch(26.06, 57.83, 317.58°)
OKLaboklab(38.14% 0.1009 -0.1102)
OKLCHoklch(38.14% 0.149 312.5)
XYZxyz(8.5429, 4.7656, 18.8784)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D207A #3D7A20
analogous
#30207A #5D207A #7A206A
triadic
#5D207A #7A5D20 #207A5D
tetradic
#5D207A #7A3020 #3D7A20 #206A7A
square
#5D207A #7A3020 #3D7A20 #206A7A
split-complementary
#5D207A #6A7A20 #207A30
monochromatic
#130719 #38134A #5D207A #822DAA #A246CE

Accessibility & contrast

On white

10.75
#5D207A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#5D207A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D207A
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D207A#FFFFFF#000000##FFFFFF
##5D207A1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7D
Deuteranopia (green-blind)
#163F78
Tritanopia (blue-blind)
#5A334B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5d207a;
/* rgb */ color: rgb(93, 32, 122);
/* oklch */ color: oklch(38.1% 0.149 312.5);
Tailwind
colors: {
  custom: {
    50: '#8e61a1',
    500: '#5d207a',
    950: '#000000',
  },
}
SCSS
$custom: #5d207a;
$custom-light: #8e61a1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d207a",
  "rgb": {
    "r": 93,
    "g": 32,
    "b": 122
  },
  "hsl": {
    "h": 280.667,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.38143,
    "c": 0.14941,
    "h": 312.5
  },
  "luminance": 0.04765
}

Semantic roles & 50–950 ramp

primary
#5D207A
secondary
#69AD49
accent
#E24678
background
#F9F6FA
surface
#F1EBF3
border
#CBC6CD
text
#0D050F
muted
#7E7A7F

Preview Lab

Preview with #5D207A

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

Preview Lab → · Contrast checker → · Palette generator →

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