#5D3082#5D3082

#5D3082 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 40.8% C 0.135 H 306.6°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#5D3082
RGBrgb(93, 48, 130)
HSLhsl(273, 46%, 35%)
HSVhsv(273, 63%, 51%)
CMYKcmyk(28.5%, 63.1%, 0%, 49%)
CIE-LABlab(29.55, 36.53, -38.44)
CIE-LCHlch(29.55, 53.03, 313.55°)
OKLaboklab(40.83% 0.0807 -0.1086)
OKLCHoklch(40.83% 0.135 306.6)
XYZxyz(9.5996, 6.0529, 21.7774)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3082 #558230
analogous
#343082 #5D3082 #82307E
triadic
#5D3082 #825D30 #30825D
tetradic
#5D3082 #823430 #558230 #307E82
square
#5D3082 #823430 #558230 #307E82
split-complementary
#5D3082 #7E8230 #308234
monochromatic
#1D0F29 #3D1F55 #5D3082 #7D41AF #9B66C6

Accessibility & contrast

On white

9.50
#5D3082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#5D3082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3082
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3082#FFFFFF#000000##FFFFFF
##5D30821.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074485
Deuteranopia (green-blind)
#204680
Tritanopia (blue-blind)
#574054
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5d3082;
/* rgb */ color: rgb(93, 48, 130);
/* oklch */ color: oklch(40.8% 0.135 306.6);
Tailwind
colors: {
  custom: {
    50: '#8e6ba7',
    500: '#5d3082',
    950: '#000000',
  },
}
SCSS
$custom: #5d3082;
$custom-light: #8e6ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3082",
  "rgb": {
    "r": 93,
    "g": 48,
    "b": 130
  },
  "hsl": {
    "h": 272.927,
    "s": 46.067,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40833,
    "c": 0.1353,
    "h": 306.6
  },
  "luminance": 0.06053
}

Semantic roles & 50–950 ramp

primary
#5D3082
secondary
#83AE60
accent
#D6528D
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0D070F
muted
#7D7A7F

Preview Lab

Preview with #5D3082

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

Preview Lab → · Contrast checker → · Palette generator →

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