#5D3592#5D3592

#5D3592 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.7% C 0.147 H 300.0°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#5D3592
RGBrgb(93, 53, 146)
HSLhsl(266, 47%, 39%)
HSVhsv(266, 64%, 57%)
CMYKcmyk(36.3%, 63.7%, 0%, 42.7%)
CIE-LABlab(31.69, 37.91, -44.89)
CIE-LCHlch(31.69, 58.76, 310.19°)
OKLaboklab(42.74% 0.0736 -0.1275)
OKLCHoklch(42.74% 0.147 300)
XYZxyz(10.9743, 6.9486, 27.9516)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3592 #6A9235
analogous
#353C92 #5D3592 #8C3592
triadic
#5D3592 #925D35 #35925D
tetradic
#5D3592 #92353C #6A9235 #35928C
square
#5D3592 #92353C #6A9235 #35928C
split-complementary
#5D3592 #928C35 #3C9235
monochromatic
#241438 #402565 #5D3592 #7A48BC #9B75CD

Accessibility & contrast

On white

8.79
#5D3592 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#5D3592 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3592
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3592#FFFFFF#000000##FFFFFF
##5D35921.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A95
Deuteranopia (green-blind)
#104A90
Tritanopia (blue-blind)
#51495E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5d3592;
/* rgb */ color: rgb(93, 53, 146);
/* oklch */ color: oklch(42.7% 0.147 300.0);
Tailwind
colors: {
  custom: {
    50: '#8f6eb3',
    500: '#5d3592',
    950: '#000000',
  },
}
SCSS
$custom: #5d3592;
$custom-light: #8f6eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3592",
  "rgb": {
    "r": 93,
    "g": 53,
    "b": 146
  },
  "hsl": {
    "h": 265.806,
    "s": 46.734,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42744,
    "c": 0.14725,
    "h": 300
  },
  "luminance": 0.06949
}

Semantic roles & 50–950 ramp

primary
#5D3592
secondary
#96B56E
accent
#D6519D
background
#F9F6FB
surface
#F1ECF6
border
#CBC7D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #5D3592

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

Preview Lab → · Contrast checker → · Palette generator →

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