#5D2076#5D2076

#5D2076 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 37.8% C 0.145 H 314.3°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#5D2076
RGBrgb(93, 32, 118)
HSLhsl(283, 57%, 29%)
HSVhsv(283, 73%, 46%)
CMYKcmyk(21.2%, 72.9%, 0%, 53.7%)
CIE-LABlab(25.77, 41.79, -36.93)
CIE-LCHlch(25.77, 55.77, 318.53°)
OKLaboklab(37.85% 0.1014 -0.1041)
OKLCHoklch(37.85% 0.145 314.3)
XYZxyz(8.3002, 4.6685, 17.5999)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2076 #397620
analogous
#322076 #5D2076 #762064
triadic
#5D2076 #765D20 #20765D
tetradic
#5D2076 #763220 #397620 #206476
square
#5D2076 #763220 #397620 #206476
split-complementary
#5D2076 #647620 #207632
monochromatic
#130718 #371346 #5D2076 #832DA6 #A544CC

Accessibility & contrast

On white

10.86
#5D2076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#5D2076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2076
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2076#FFFFFF#000000##FFFFFF
##5D20761.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A78
Deuteranopia (green-blind)
#1C3F74
Tritanopia (blue-blind)
#5B3248
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5d2076;
/* rgb */ color: rgb(93, 32, 118);
/* oklch */ color: oklch(37.8% 0.145 314.3);
Tailwind
colors: {
  custom: {
    50: '#8e619e',
    500: '#5d2076',
    950: '#000000',
  },
}
SCSS
$custom: #5d2076;
$custom-light: #8e619e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2076",
  "rgb": {
    "r": 93,
    "g": 32,
    "b": 118
  },
  "hsl": {
    "h": 282.558,
    "s": 57.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.37846,
    "c": 0.14529,
    "h": 314.3
  },
  "luminance": 0.04668
}

Semantic roles & 50–950 ramp

primary
#5D2076
secondary
#65A948
accent
#E14774
background
#F9F5F9
surface
#F1EAF2
border
#CBC6CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #5D2076

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

Preview Lab → · Contrast checker → · Palette generator →

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