#5D2073#5D2073

#5D2073 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.6% C 0.142 H 315.6°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#5D2073
RGBrgb(93, 32, 115)
HSLhsl(284, 56%, 29%)
HSVhsv(284, 72%, 45%)
CMYKcmyk(19.1%, 72.2%, 0%, 54.9%)
CIE-LABlab(25.56, 41.12, -35.35)
CIE-LCHlch(25.56, 54.23, 319.32°)
OKLaboklab(37.63% 0.1017 -0.0994)
OKLCHoklch(37.63% 0.142 315.6)
XYZxyz(8.1247, 4.5983, 16.6759)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2073 #367320
analogous
#342073 #5D2073 #732060
triadic
#5D2073 #735D20 #20735D
tetradic
#5D2073 #733420 #367320 #206073
square
#5D2073 #733420 #367320 #206073
split-complementary
#5D2073 #607320 #207334
monochromatic
#130718 #361343 #5D2073 #842DA3 #A743CB

Accessibility & contrast

On white

10.94
#5D2073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#5D2073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2073
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2073#FFFFFF#000000##FFFFFF
##5D20731.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003975
Deuteranopia (green-blind)
#1F3E71
Tritanopia (blue-blind)
#5B3147
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5d2073;
/* rgb */ color: rgb(93, 32, 115);
/* oklch */ color: oklch(37.6% 0.142 315.6);
Tailwind
colors: {
  custom: {
    50: '#8e619c',
    500: '#5d2073',
    950: '#000000',
  },
}
SCSS
$custom: #5d2073;
$custom-light: #8e619c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2073",
  "rgb": {
    "r": 93,
    "g": 32,
    "b": 115
  },
  "hsl": {
    "h": 284.096,
    "s": 56.463,
    "l": 28.824
  },
  "oklch": {
    "l": 0.37629,
    "c": 0.14221,
    "h": 315.6
  },
  "luminance": 0.04598
}

Semantic roles & 50–950 ramp

primary
#5D2073
secondary
#61A748
accent
#E04870
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0D050E
muted
#7D797E

Preview Lab

Preview with #5D2073

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

Preview Lab → · Contrast checker → · Palette generator →

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