#5D2084#5D2084

#5D2084 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.160 H 308.5°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#5D2084
RGBrgb(93, 32, 132)
HSLhsl(277, 61%, 32%)
HSVhsv(277, 76%, 52%)
CMYKcmyk(29.5%, 75.8%, 0%, 48.2%)
CIE-LABlab(26.81, 45.00, -44.10)
CIE-LCHlch(26.81, 63.01, 315.58°)
OKLaboklab(38.92% 0.0994 -0.1251)
OKLCHoklch(38.92% 0.16 308.5)
XYZxyz(9.1947, 5.0263, 22.3111)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2084 #478420
analogous
#2B2084 #5D2084 #842079
triadic
#5D2084 #845D20 #20845D
tetradic
#5D2084 #842B20 #478420 #207984
square
#5D2084 #842B20 #478420 #207984
split-complementary
#5D2084 #798420 #20842B
monochromatic
#180821 #3A1453 #5D2084 #802CB5 #9E4BD3

Accessibility & contrast

On white

10.47
#5D2084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#5D2084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2084
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2084#FFFFFF#000000##FFFFFF
##5D20841.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#004082
Tritanopia (blue-blind)
#573850
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5d2084;
/* rgb */ color: rgb(93, 32, 132);
/* oklch */ color: oklch(38.9% 0.160 308.5);
Tailwind
colors: {
  custom: {
    50: '#8f62a8',
    500: '#5d2084',
    950: '#000000',
  },
}
SCSS
$custom: #5d2084;
$custom-light: #8f62a8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2084",
  "rgb": {
    "r": 93,
    "g": 32,
    "b": 132
  },
  "hsl": {
    "h": 276.6,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38916,
    "c": 0.15977,
    "h": 308.5
  },
  "luminance": 0.05026
}

Semantic roles & 50–950 ramp

primary
#5D2084
secondary
#74B64A
accent
#E44482
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #5D2084

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

Preview Lab → · Contrast checker → · Palette generator →

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