#5D2D91#5D2D91

#5D2D91 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.5% C 0.157 H 301.9°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#5D2D91
RGBrgb(93, 45, 145)
HSLhsl(269, 53%, 37%)
HSVhsv(269, 69%, 57%)
CMYKcmyk(35.9%, 69%, 0%, 43.1%)
CIE-LABlab(30.03, 41.98, -46.95)
CIE-LCHlch(30.03, 62.98, 311.80°)
OKLaboklab(41.52% 0.0832 -0.1336)
OKLCHoklch(41.52% 0.157 301.9)
XYZxyz(10.5622, 6.2482, 27.4321)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2D91 #61912D
analogous
#2D2F91 #5D2D91 #8F2D91
triadic
#5D2D91 #915D2D #2D915D
tetradic
#5D2D91 #912D2F #61912D #2D918F
square
#5D2D91 #912D2F #61912D #2D918F
split-complementary
#5D2D91 #918F2D #2F912D
monochromatic
#211034 #3F1F62 #5D2D91 #7B3BC0 #9A68D0

Accessibility & contrast

On white

9.33
#5D2D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#5D2D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2D91
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2D91#FFFFFF#000000##FFFFFF
##5D2D911.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d2d91;
/* rgb */ color: rgb(93, 45, 145);
/* oklch */ color: oklch(41.5% 0.157 301.9);
Tailwind
colors: {
  custom: {
    50: '#8f6ab2',
    500: '#5d2d91',
    950: '#000000',
  },
}
SCSS
$custom: #5d2d91;
$custom-light: #8f6ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2d91",
  "rgb": {
    "r": 93,
    "g": 45,
    "b": 145
  },
  "hsl": {
    "h": 268.8,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41524,
    "c": 0.15738,
    "h": 301.9
  },
  "luminance": 0.06248
}

Semantic roles & 50–950 ramp

primary
#5D2D91
secondary
#8FB763
accent
#DC4C97
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #5D2D91

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

Preview Lab → · Contrast checker → · Palette generator →

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