#5D2078#5D2078

#5D2078 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.0% C 0.147 H 313.4°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#5D2078
RGBrgb(93, 32, 120)
HSLhsl(282, 58%, 30%)
HSVhsv(282, 73%, 47%)
CMYKcmyk(22.5%, 73.3%, 0%, 52.9%)
CIE-LABlab(25.91, 42.24, -37.98)
CIE-LCHlch(25.91, 56.80, 318.04°)
OKLaboklab(37.99% 0.1012 -0.1071)
OKLCHoklch(37.99% 0.147 313.4)
XYZxyz(8.4203, 4.7165, 18.2325)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2078 #3B7820
analogous
#312078 #5D2078 #782067
triadic
#5D2078 #785D20 #20785D
tetradic
#5D2078 #783120 #3B7820 #206778
square
#5D2078 #783120 #3B7820 #206778
split-complementary
#5D2078 #677820 #207831
monochromatic
#130618 #381348 #5D2078 #822DA8 #A445CD

Accessibility & contrast

On white

10.81
#5D2078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#5D2078 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2078
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2078#FFFFFF#000000##FFFFFF
##5D20781.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7B
Deuteranopia (green-blind)
#193F76
Tritanopia (blue-blind)
#5A334A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5d2078;
/* rgb */ color: rgb(93, 32, 120);
/* oklch */ color: oklch(38.0% 0.147 313.4);
Tailwind
colors: {
  custom: {
    50: '#8e619f',
    500: '#5d2078',
    950: '#000000',
  },
}
SCSS
$custom: #5d2078;
$custom-light: #8e619f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2078",
  "rgb": {
    "r": 93,
    "g": 32,
    "b": 120
  },
  "hsl": {
    "h": 281.591,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37994,
    "c": 0.14736,
    "h": 313.4
  },
  "luminance": 0.04716
}

Semantic roles & 50–950 ramp

primary
#5D2078
secondary
#67AB48
accent
#E14776
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D050F
muted
#7E7A7E

Preview Lab

Preview with #5D2078

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

Preview Lab → · Contrast checker → · Palette generator →

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