#5D2D85#5D2D85

#5D2D85 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.6% C 0.143 H 306.1°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#5D2D85
RGBrgb(93, 45, 133)
HSLhsl(273, 49%, 35%)
HSVhsv(273, 66%, 52%)
CMYKcmyk(30.1%, 66.2%, 0%, 47.8%)
CIE-LABlab(29.15, 38.92, -40.94)
CIE-LCHlch(29.15, 56.49, 313.55°)
OKLaboklab(40.61% 0.0844 -0.1159)
OKLCHoklch(40.61% 0.143 306.1)
XYZxyz(9.6853, 5.8975, 22.8138)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2D85 #55852D
analogous
#312D85 #5D2D85 #852D81
triadic
#5D2D85 #855D2D #2D855D
tetradic
#5D2D85 #85312D #55852D #2D8185
square
#5D2D85 #85312D #55852D #2D8185
split-complementary
#5D2D85 #81852D #2D8531
monochromatic
#1D0E2A #3D1E57 #5D2D85 #7D3CB3 #9B62CA

Accessibility & contrast

On white

9.64
#5D2D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#5D2D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2D85
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2D85#FFFFFF#000000##FFFFFF
##5D2D851.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004388
Deuteranopia (green-blind)
#184583
Tritanopia (blue-blind)
#563F55
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5d2d85;
/* rgb */ color: rgb(93, 45, 133);
/* oklch */ color: oklch(40.6% 0.143 306.1);
Tailwind
colors: {
  custom: {
    50: '#8e69a9',
    500: '#5d2d85',
    950: '#000000',
  },
}
SCSS
$custom: #5d2d85;
$custom-light: #8e69a9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2d85",
  "rgb": {
    "r": 93,
    "g": 45,
    "b": 133
  },
  "hsl": {
    "h": 272.727,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40614,
    "c": 0.14341,
    "h": 306.1
  },
  "luminance": 0.05897
}

Semantic roles & 50–950 ramp

primary
#5D2D85
secondary
#83B05D
accent
#D94F8E
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #5D2D85

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

Preview Lab → · Contrast checker → · Palette generator →

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