#5D2C85#5D2C85

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

Color values

HEX#5D2C85
RGBrgb(93, 44, 133)
HSLhsl(273, 50%, 35%)
HSVhsv(273, 67%, 52%)
CMYKcmyk(30.1%, 66.9%, 0%, 47.8%)
CIE-LABlab(28.96, 39.45, -41.25)
CIE-LCHlch(28.96, 57.08, 313.72°)
OKLaboklab(40.48% 0.0857 -0.1168)
OKLCHoklch(40.48% 0.145 306.3)
XYZxyz(9.6476, 5.8221, 22.8013)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2C85 #54852C
analogous
#312C85 #5D2C85 #852C80
triadic
#5D2C85 #855D2C #2C855D
tetradic
#5D2C85 #85312C #54852C #2C8085
square
#5D2C85 #85312C #54852C #2C8085
split-complementary
#5D2C85 #80852C #2C8531
monochromatic
#1D0E29 #3D1D57 #5D2C85 #7D3BB3 #9B61CB

Accessibility & contrast

On white

9.70
#5D2C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#5D2C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2C85
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2C85#FFFFFF#000000##FFFFFF
##5D2C851.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004388
Deuteranopia (green-blind)
#174583
Tritanopia (blue-blind)
#563F54
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5d2c85;
/* rgb */ color: rgb(93, 44, 133);
/* oklch */ color: oklch(40.5% 0.145 306.3);
Tailwind
colors: {
  custom: {
    50: '#8e68a9',
    500: '#5d2c85',
    950: '#000000',
  },
}
SCSS
$custom: #5d2c85;
$custom-light: #8e68a9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2c85",
  "rgb": {
    "r": 93,
    "g": 44,
    "b": 133
  },
  "hsl": {
    "h": 273.034,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40475,
    "c": 0.14487,
    "h": 306.3
  },
  "luminance": 0.05822
}

Semantic roles & 50–950 ramp

primary
#5D2C85
secondary
#82B15C
accent
#DA4E8D
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #5D2C85

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

Preview Lab → · Contrast checker → · Palette generator →

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