#5D2C92#5D2C92

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

Color values

HEX#5D2C92
RGBrgb(93, 44, 146)
HSLhsl(269, 54%, 37%)
HSVhsv(269, 70%, 57%)
CMYKcmyk(36.3%, 69.9%, 0%, 42.7%)
CIE-LABlab(29.92, 42.75, -47.75)
CIE-LCHlch(29.92, 64.09, 311.84°)
OKLaboklab(41.47% 0.0842 -0.1359)
OKLCHoklch(41.47% 0.16 301.8)
XYZxyz(10.6020, 6.2038, 27.8275)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2C92 #61922C
analogous
#2C2E92 #5D2C92 #902C92
triadic
#5D2C92 #925D2C #2C925D
tetradic
#5D2C92 #922C2E #61922C #2C9290
square
#5D2C92 #922C2E #61922C #2C9290
split-complementary
#5D2C92 #92902C #2E922C
monochromatic
#211034 #3F1E63 #5D2C92 #7B3AC1 #9A67D1

Accessibility & contrast

On white

9.37
#5D2C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#5D2C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2C92
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2C92#FFFFFF#000000##FFFFFF
##5D2C921.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004695
Deuteranopia (green-blind)
#004690
Tritanopia (blue-blind)
#52445B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5d2c92;
/* rgb */ color: rgb(93, 44, 146);
/* oklch */ color: oklch(41.5% 0.160 301.8);
Tailwind
colors: {
  custom: {
    50: '#8f69b3',
    500: '#5d2c92',
    950: '#000000',
  },
}
SCSS
$custom: #5d2c92;
$custom-light: #8f69b3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2c92",
  "rgb": {
    "r": 93,
    "g": 44,
    "b": 146
  },
  "hsl": {
    "h": 268.824,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4147,
    "c": 0.15987,
    "h": 301.8
  },
  "luminance": 0.06204
}

Semantic roles & 50–950 ramp

primary
#5D2C92
secondary
#8FB862
accent
#DD4B97
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5D2C92

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

Preview Lab → · Contrast checker → · Palette generator →

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