#5D207C#5D207C

#5D207C is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.151 H 311.6°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#5D207C
RGBrgb(93, 32, 124)
HSLhsl(280, 59%, 31%)
HSVhsv(280, 74%, 49%)
CMYKcmyk(25%, 74.2%, 0%, 51.4%)
CIE-LABlab(26.20, 43.15, -40.04)
CIE-LCHlch(26.20, 58.87, 317.14°)
OKLaboklab(38.29% 0.1007 -0.1132)
OKLCHoklch(38.29% 0.151 311.6)
XYZxyz(8.6681, 4.8156, 19.5378)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D207C #3F7C20
analogous
#2F207C #5D207C #7C206D
triadic
#5D207C #7C5D20 #207C5D
tetradic
#5D207C #7C2F20 #3F7C20 #206D7C
square
#5D207C #7C2F20 #3F7C20 #206D7C
split-complementary
#5D207C #6D7C20 #207C2F
monochromatic
#14071B #39134B #5D207C #812DAD #A147CF

Accessibility & contrast

On white

10.70
#5D207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D207C
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D207C#FFFFFF#000000##FFFFFF
##5D207C1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7F
Deuteranopia (green-blind)
#133F7A
Tritanopia (blue-blind)
#59344C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5d207c;
/* rgb */ color: rgb(93, 32, 124);
/* oklch */ color: oklch(38.3% 0.151 311.6);
Tailwind
colors: {
  custom: {
    50: '#8e62a2',
    500: '#5d207c',
    950: '#000000',
  },
}
SCSS
$custom: #5d207c;
$custom-light: #8e62a2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d207c",
  "rgb": {
    "r": 93,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 279.783,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.38294,
    "c": 0.15148,
    "h": 311.6
  },
  "luminance": 0.04815
}

Semantic roles & 50–950 ramp

primary
#5D207C
secondary
#6BAF49
accent
#E2467A
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D050F
muted
#7E7A7F

Preview Lab

Preview with #5D207C

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

Preview Lab → · Contrast checker → · Palette generator →

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