#5D2CAF#5D2CAF

#5D2CAF is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.9% C 0.193 H 294.0°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#5D2CAF
RGBrgb(93, 44, 175)
HSLhsl(262, 60%, 43%)
HSVhsv(262, 75%, 69%)
CMYKcmyk(46.9%, 74.9%, 0%, 31.4%)
CIE-LABlab(32.31, 50.37, -61.42)
CIE-LCHlch(32.31, 79.44, 309.36°)
OKLaboklab(43.91% 0.0783 -0.1761)
OKLCHoklch(43.91% 0.193 294)
XYZxyz(13.1506, 7.2233, 41.2505)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2CAF #7EAF2C
analogous
#2C3CAF #5D2CAF #9E2CAF
triadic
#5D2CAF #AF5D2C #2CAF5D
tetradic
#5D2CAF #AF2C3C #7EAF2C #2CAF9E
square
#5D2CAF #AF2C3C #7EAF2C #2CAF9E
split-complementary
#5D2CAF #AF9E2C #3CAF2C
monochromatic
#29134D #43207E #5D2CAF #7B47D1 #9E78DD

Accessibility & contrast

On white

8.59
#5D2CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#5D2CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2CAF
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2CAF#FFFFFF#000000##FFFFFF
##5D2CAF1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#004AAC
Tritanopia (blue-blind)
#454F6B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5d2caf;
/* rgb */ color: rgb(93, 44, 175);
/* oklch */ color: oklch(43.9% 0.193 294.0);
Tailwind
colors: {
  custom: {
    50: '#936ac8',
    500: '#5d2caf',
    950: '#000000',
  },
}
SCSS
$custom: #5d2caf;
$custom-light: #936ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2caf",
  "rgb": {
    "r": 93,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 262.443,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43907,
    "c": 0.19272,
    "h": 294
  },
  "luminance": 0.07224
}

Semantic roles & 50–950 ramp

primary
#5D2CAF
secondary
#A6C572
accent
#E345A8
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5D2CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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