#5D2C91#5D2C91

#5D2C91 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.4% C 0.159 H 302.1°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#5D2C91
RGBrgb(93, 44, 145)
HSLhsl(269, 53%, 37%)
HSVhsv(269, 70%, 57%)
CMYKcmyk(35.9%, 69.7%, 0%, 43.1%)
CIE-LABlab(29.84, 42.49, -47.26)
CIE-LCHlch(29.84, 63.55, 311.96°)
OKLaboklab(41.39% 0.0843 -0.1345)
OKLCHoklch(41.39% 0.159 302.1)
XYZxyz(10.5245, 6.1728, 27.4196)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2C91 #60912C
analogous
#2C2E91 #5D2C91 #902C91
triadic
#5D2C91 #915D2C #2C915D
tetradic
#5D2C91 #912C2E #60912C #2C9190
square
#5D2C91 #912C2E #60912C #2C9190
split-complementary
#5D2C91 #91902C #2E912C
monochromatic
#211033 #3F1E62 #5D2C91 #7B3AC0 #9A67D1

Accessibility & contrast

On white

9.40
#5D2C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#5D2C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2C91
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2C91#FFFFFF#000000##FFFFFF
##5D2C911.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004694
Deuteranopia (green-blind)
#00468F
Tritanopia (blue-blind)
#52435B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5d2c91;
/* rgb */ color: rgb(93, 44, 145);
/* oklch */ color: oklch(41.4% 0.159 302.1);
Tailwind
colors: {
  custom: {
    50: '#8f69b2',
    500: '#5d2c91',
    950: '#000000',
  },
}
SCSS
$custom: #5d2c91;
$custom-light: #8f69b2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2c91",
  "rgb": {
    "r": 93,
    "g": 44,
    "b": 145
  },
  "hsl": {
    "h": 269.109,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41391,
    "c": 0.15872,
    "h": 302.1
  },
  "luminance": 0.06173
}

Semantic roles & 50–950 ramp

primary
#5D2C91
secondary
#8EB762
accent
#DD4B96
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5D2C91

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

Preview Lab → · Contrast checker → · Palette generator →

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