#5D2C93#5D2C93

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

Color values

HEX#5D2C93
RGBrgb(93, 44, 147)
HSLhsl(269, 54%, 37%)
HSVhsv(269, 70%, 58%)
CMYKcmyk(36.7%, 70.1%, 0%, 42.4%)
CIE-LABlab(30.00, 43.01, -48.24)
CIE-LCHlch(30.00, 64.63, 311.72°)
OKLaboklab(41.55% 0.084 -0.1373)
OKLCHoklch(41.55% 0.161 301.5)
XYZxyz(10.6801, 6.2351, 28.2389)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2C93 #62932C
analogous
#2C2E93 #5D2C93 #912C93
triadic
#5D2C93 #935D2C #2C935D
tetradic
#5D2C93 #932C2E #62932C #2C9391
square
#5D2C93 #932C2E #62932C #2C9391
split-complementary
#5D2C93 #93912C #2E932C
monochromatic
#211035 #3F1E64 #5D2C93 #7B3AC2 #9A68D2

Accessibility & contrast

On white

9.35
#5D2C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#5D2C93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2C93
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2C93#FFFFFF#000000##FFFFFF
##5D2C931.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004696
Deuteranopia (green-blind)
#004691
Tritanopia (blue-blind)
#52445C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5d2c93;
/* rgb */ color: rgb(93, 44, 147);
/* oklch */ color: oklch(41.5% 0.161 301.5);
Tailwind
colors: {
  custom: {
    50: '#9069b3',
    500: '#5d2c93',
    950: '#000000',
  },
}
SCSS
$custom: #5d2c93;
$custom-light: #9069b3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2c93",
  "rgb": {
    "r": 93,
    "g": 44,
    "b": 147
  },
  "hsl": {
    "h": 268.544,
    "s": 53.927,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41549,
    "c": 0.16102,
    "h": 301.5
  },
  "luminance": 0.06235
}

Semantic roles & 50–950 ramp

primary
#5D2C93
secondary
#8FB863
accent
#DD4A97
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5D2C93

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

Preview Lab → · Contrast checker → · Palette generator →

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