#5D207B#5D207B

#5D207B is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.2% C 0.150 H 312.1°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#5D207B
RGBrgb(93, 32, 123)
HSLhsl(280, 59%, 30%)
HSVhsv(280, 74%, 48%)
CMYKcmyk(24.4%, 74%, 0%, 51.8%)
CIE-LABlab(26.13, 42.92, -39.53)
CIE-LCHlch(26.13, 58.35, 317.36°)
OKLaboklab(38.22% 0.1008 -0.1117)
OKLCHoklch(38.22% 0.15 312.1)
XYZxyz(8.6052, 4.7905, 19.2064)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D207B #3E7B20
analogous
#2F207B #5D207B #7B206B
triadic
#5D207B #7B5D20 #207B5D
tetradic
#5D207B #7B2F20 #3E7B20 #206B7B
square
#5D207B #7B2F20 #3E7B20 #206B7B
split-complementary
#5D207B #6B7B20 #207B2F
monochromatic
#14071A #38134A #5D207B #822DAC #A246CF

Accessibility & contrast

On white

10.73
#5D207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#5D207B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D207B
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D207B#FFFFFF#000000##FFFFFF
##5D207B1.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#153F79
Tritanopia (blue-blind)
#59344B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5d207b;
/* rgb */ color: rgb(93, 32, 123);
/* oklch */ color: oklch(38.2% 0.150 312.1);
Tailwind
colors: {
  custom: {
    50: '#8e61a2',
    500: '#5d207b',
    950: '#000000',
  },
}
SCSS
$custom: #5d207b;
$custom-light: #8e61a2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d207b",
  "rgb": {
    "r": 93,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 280.22,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.38218,
    "c": 0.15045,
    "h": 312.1
  },
  "luminance": 0.0479
}

Semantic roles & 50–950 ramp

primary
#5D207B
secondary
#6AAE49
accent
#E24679
background
#F9F6FA
surface
#F1EBF3
border
#CBC6CD
text
#0D050F
muted
#7E7A7F

Preview Lab

Preview with #5D207B

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

Preview Lab → · Contrast checker → · Palette generator →

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