#5D2C86#5D2C86

#5D2C86 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.5% C 0.146 H 305.9°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#5D2C86
RGBrgb(93, 44, 134)
HSLhsl(273, 51%, 35%)
HSVhsv(273, 67%, 53%)
CMYKcmyk(30.6%, 67.2%, 0%, 47.5%)
CIE-LABlab(29.03, 39.70, -41.76)
CIE-LCHlch(29.03, 57.62, 313.55°)
OKLaboklab(40.55% 0.0856 -0.1183)
OKLCHoklch(40.55% 0.146 305.9)
XYZxyz(9.7170, 5.8498, 23.1669)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2C86 #55862C
analogous
#302C86 #5D2C86 #862C82
triadic
#5D2C86 #865D2C #2C865D
tetradic
#5D2C86 #86302C #55862C #2C8286
square
#5D2C86 #86302C #55862C #2C8286
split-complementary
#5D2C86 #82862C #2C8630
monochromatic
#1D0E2A #3D1D58 #5D2C86 #7D3BB4 #9B61CB

Accessibility & contrast

On white

9.68
#5D2C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#5D2C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2C86
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2C86#FFFFFF#000000##FFFFFF
##5D2C861.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#154584
Tritanopia (blue-blind)
#563F55
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5d2c86;
/* rgb */ color: rgb(93, 44, 134);
/* oklch */ color: oklch(40.5% 0.146 305.9);
Tailwind
colors: {
  custom: {
    50: '#8e69aa',
    500: '#5d2c86',
    950: '#000000',
  },
}
SCSS
$custom: #5d2c86;
$custom-light: #8e69aa;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2c86",
  "rgb": {
    "r": 93,
    "g": 44,
    "b": 134
  },
  "hsl": {
    "h": 272.667,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40549,
    "c": 0.14602,
    "h": 305.9
  },
  "luminance": 0.0585
}

Semantic roles & 50–950 ramp

primary
#5D2C86
secondary
#83B15C
accent
#DA4E8E
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #5D2C86

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

Preview Lab → · Contrast checker → · Palette generator →

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