#5D3084#5D3084

#5D3084 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.0% C 0.138 H 305.9°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#5D3084
RGBrgb(93, 48, 132)
HSLhsl(272, 47%, 35%)
HSVhsv(272, 64%, 52%)
CMYKcmyk(29.5%, 63.6%, 0%, 48.2%)
CIE-LABlab(29.68, 37.04, -39.47)
CIE-LCHlch(29.68, 54.12, 313.18°)
OKLaboklab(40.98% 0.0807 -0.1116)
OKLCHoklch(40.98% 0.138 305.9)
XYZxyz(9.7351, 6.1071, 22.4912)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3084 #578430
analogous
#333084 #5D3084 #843081
triadic
#5D3084 #845D30 #30845D
tetradic
#5D3084 #843330 #578430 #308184
square
#5D3084 #843330 #578430 #308184
split-complementary
#5D3084 #818430 #308433
monochromatic
#1E0F2A #3D2057 #5D3084 #7D40B1 #9B67C8

Accessibility & contrast

On white

9.45
#5D3084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#5D3084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3084
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3084#FFFFFF#000000##FFFFFF
##5D30841.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024587
Deuteranopia (green-blind)
#1E4682
Tritanopia (blue-blind)
#564155
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5d3084;
/* rgb */ color: rgb(93, 48, 132);
/* oklch */ color: oklch(41.0% 0.138 305.9);
Tailwind
colors: {
  custom: {
    50: '#8e6ba8',
    500: '#5d3084',
    950: '#000000',
  },
}
SCSS
$custom: #5d3084;
$custom-light: #8e6ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3084",
  "rgb": {
    "r": 93,
    "g": 48,
    "b": 132
  },
  "hsl": {
    "h": 272.143,
    "s": 46.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40975,
    "c": 0.1377,
    "h": 305.9
  },
  "luminance": 0.06107
}

Semantic roles & 50–950 ramp

primary
#5D3084
secondary
#85AF61
accent
#D6518F
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0D0710
muted
#7D7A7F

Preview Lab

Preview with #5D3084

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

Preview Lab → · Contrast checker → · Palette generator →

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