#5D2D83#5D2D83

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

Color values

HEX#5D2D83
RGBrgb(93, 45, 131)
HSLhsl(273, 49%, 35%)
HSVhsv(273, 66%, 51%)
CMYKcmyk(29%, 65.6%, 0%, 48.6%)
CIE-LABlab(29.01, 38.42, -39.92)
CIE-LCHlch(29.01, 55.40, 313.90°)
OKLaboklab(40.47% 0.0846 -0.1129)
OKLCHoklch(40.47% 0.141 306.8)
XYZxyz(9.5485, 5.8427, 22.0931)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2D83 #53832D
analogous
#322D83 #5D2D83 #832D7E
triadic
#5D2D83 #835D2D #2D835D
tetradic
#5D2D83 #83322D #53832D #2D7E83
square
#5D2D83 #83322D #53832D #2D7E83
split-complementary
#5D2D83 #7E832D #2D8332
monochromatic
#1C0E28 #3D1D55 #5D2D83 #7D3DB1 #9B62C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D2D83#FFFFFF#000000##FFFFFF
##5D2D831.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)
#004386
Deuteranopia (green-blind)
#1B4581
Tritanopia (blue-blind)
#573F54
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5d2d83;
/* rgb */ color: rgb(93, 45, 131);
/* oklch */ color: oklch(40.5% 0.141 306.8);
Tailwind
colors: {
  custom: {
    50: '#8e69a8',
    500: '#5d2d83',
    950: '#000000',
  },
}
SCSS
$custom: #5d2d83;
$custom-light: #8e69a8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2d83",
  "rgb": {
    "r": 93,
    "g": 45,
    "b": 131
  },
  "hsl": {
    "h": 273.488,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40468,
    "c": 0.14107,
    "h": 306.8
  },
  "luminance": 0.05843
}

Semantic roles & 50–950 ramp

primary
#5D2D83
secondary
#81AF5C
accent
#D84F8C
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0D060F
muted
#7D7A7F

Preview Lab

Preview with #5D2D83

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

Preview Lab → · Contrast checker → · Palette generator →

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