#5D2D76#5D2D76

#5D2D76 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.6% C 0.126 H 312.4°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#5D2D76
RGBrgb(93, 45, 118)
HSLhsl(279, 45%, 32%)
HSVhsv(279, 62%, 46%)
CMYKcmyk(21.2%, 61.9%, 0%, 53.7%)
CIE-LABlab(28.15, 35.24, -33.12)
CIE-LCHlch(28.15, 48.36, 316.77°)
OKLaboklab(39.56% 0.0849 -0.093)
OKLCHoklch(39.56% 0.126 312.4)
XYZxyz(8.7220, 5.5122, 17.7405)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2D76 #46762D
analogous
#392D76 #5D2D76 #762D6B
triadic
#5D2D76 #765D2D #2D765D
tetradic
#5D2D76 #76392D #46762D #2D6B76
square
#5D2D76 #76392D #46762D #2D6B76
split-complementary
#5D2D76 #6B762D #2D7639
monochromatic
#170B1D #3A1C4A #5D2D76 #803EA2 #9F5CC1

Accessibility & contrast

On white

9.99
#5D2D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#5D2D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2D76
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2D76#FFFFFF#000000##FFFFFF
##5D2D761.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144078
Deuteranopia (green-blind)
#284374
Tritanopia (blue-blind)
#5A3A4D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #5d2d76;
/* rgb */ color: rgb(93, 45, 118);
/* oklch */ color: oklch(39.6% 0.126 312.4);
Tailwind
colors: {
  custom: {
    50: '#8d699e',
    500: '#5d2d76',
    950: '#000000',
  },
}
SCSS
$custom: #5d2d76;
$custom-light: #8d699e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2d76",
  "rgb": {
    "r": 93,
    "g": 45,
    "b": 118
  },
  "hsl": {
    "h": 279.452,
    "s": 44.785,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39562,
    "c": 0.1259,
    "h": 312.4
  },
  "luminance": 0.05512
}

Semantic roles & 50–950 ramp

primary
#5D2D76
secondary
#73A757
accent
#D45380
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #5D2D76

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

Preview Lab → · Contrast checker → · Palette generator →

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