#5D207D#5D207D

#5D207D is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.153 H 311.2°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#5D207D
RGBrgb(93, 32, 125)
HSLhsl(279, 59%, 31%)
HSVhsv(279, 74%, 49%)
CMYKcmyk(25.6%, 74.4%, 0%, 51%)
CIE-LABlab(26.28, 43.38, -40.56)
CIE-LCHlch(26.28, 59.38, 316.93°)
OKLaboklab(38.37% 0.1005 -0.1147)
OKLCHoklch(38.37% 0.153 311.2)
XYZxyz(8.7317, 4.8411, 19.8725)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D207D #407D20
analogous
#2E207D #5D207D #7D206E
triadic
#5D207D #7D5D20 #207D5D
tetradic
#5D207D #7D2E20 #407D20 #206E7D
square
#5D207D #7D2E20 #407D20 #206E7D
split-complementary
#5D207D #6E7D20 #207D2E
monochromatic
#14071C #39144C #5D207D #812CAE #A147D0

Accessibility & contrast

On white

10.67
#5D207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#5D207D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D207D
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D207D#FFFFFF#000000##FFFFFF
##5D207D1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#123F7B
Tritanopia (blue-blind)
#59354C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5d207d;
/* rgb */ color: rgb(93, 32, 125);
/* oklch */ color: oklch(38.4% 0.153 311.2);
Tailwind
colors: {
  custom: {
    50: '#8f62a3',
    500: '#5d207d',
    950: '#000000',
  },
}
SCSS
$custom: #5d207d;
$custom-light: #8f62a3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d207d",
  "rgb": {
    "r": 93,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 279.355,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3837,
    "c": 0.15252,
    "h": 311.2
  },
  "luminance": 0.04841
}

Semantic roles & 50–950 ramp

primary
#5D207D
secondary
#6CB049
accent
#E2457B
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D050F
muted
#7E7A7F

Preview Lab

Preview with #5D207D

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

Preview Lab → · Contrast checker → · Palette generator →

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