#5D2C8F#5D2C8F

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

Color values

HEX#5D2C8F
RGBrgb(93, 44, 143)
HSLhsl(270, 53%, 37%)
HSVhsv(270, 69%, 56%)
CMYKcmyk(35%, 69.2%, 0%, 43.9%)
CIE-LABlab(29.69, 41.98, -46.27)
CIE-LCHlch(29.69, 62.48, 312.22°)
OKLaboklab(41.23% 0.0846 -0.1316)
OKLCHoklch(41.23% 0.156 302.7)
XYZxyz(10.3716, 6.1117, 26.6145)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2C8F #5E8F2C
analogous
#2C2D8F #5D2C8F #8F2C8F
triadic
#5D2C8F #8F5D2C #2C8F5D
tetradic
#5D2C8F #8F2C2D #5E8F2C #2C8F8F
square
#5D2C8F #8F2C2D #5E8F2C #2C8F8F
split-complementary
#5D2C8F #8F8F2C #2D8F2C
monochromatic
#200F31 #3F1E60 #5D2C8F #7B3ABE #9A66D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D2C8F#FFFFFF#000000##FFFFFF
##5D2C8F1.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)
#004592
Deuteranopia (green-blind)
#00468D
Tritanopia (blue-blind)
#53435A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5d2c8f;
/* rgb */ color: rgb(93, 44, 143);
/* oklch */ color: oklch(41.2% 0.156 302.7);
Tailwind
colors: {
  custom: {
    50: '#8f69b0',
    500: '#5d2c8f',
    950: '#000000',
  },
}
SCSS
$custom: #5d2c8f;
$custom-light: #8f69b0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2c8f",
  "rgb": {
    "r": 93,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 269.697,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41234,
    "c": 0.15642,
    "h": 302.7
  },
  "luminance": 0.06112
}

Semantic roles & 50–950 ramp

primary
#5D2C8F
secondary
#8CB661
accent
#DC4B95
background
#F9F6FA
surface
#F1EBF5
border
#CBC6CF
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5D2C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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