#5D32AF#5D32AF

#5D32AF is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.6% C 0.186 H 293.1°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#5D32AF
RGBrgb(93, 50, 175)
HSLhsl(261, 56%, 44%)
HSVhsv(261, 71%, 69%)
CMYKcmyk(46.9%, 71.4%, 0%, 31.4%)
CIE-LABlab(33.36, 47.42, -59.71)
CIE-LCHlch(33.36, 76.25, 308.46°)
OKLaboklab(44.65% 0.0729 -0.1711)
OKLCHoklch(44.65% 0.186 293.1)
XYZxyz(13.3905, 7.7031, 41.3304)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D32AF #84AF32
analogous
#3246AF #5D32AF #9C32AF
triadic
#5D32AF #AF5D32 #32AF5D
tetradic
#5D32AF #AF3246 #84AF32 #32AF9C
square
#5D32AF #AF3246 #84AF32 #32AF9C
split-complementary
#5D32AF #AF9C32 #46AF32
monochromatic
#2A1750 #44247F #5D32AF #7C51CD #A081DB

Accessibility & contrast

On white

8.27
#5D32AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#5D32AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D32AF
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D32AF#FFFFFF#000000##FFFFFF
##5D32AF1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#004CAD
Tritanopia (blue-blind)
#44526D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5d32af;
/* rgb */ color: rgb(93, 50, 175);
/* oklch */ color: oklch(44.6% 0.186 293.1);
Tailwind
colors: {
  custom: {
    50: '#926ec8',
    500: '#5d32af',
    950: '#000000',
  },
}
SCSS
$custom: #5d32af;
$custom-light: #926ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d32af",
  "rgb": {
    "r": 93,
    "g": 50,
    "b": 175
  },
  "hsl": {
    "h": 260.64,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44648,
    "c": 0.18599,
    "h": 293.1
  },
  "luminance": 0.07704
}

Semantic roles & 50–950 ramp

primary
#5D32AF
secondary
#AAC479
accent
#DF49AB
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5D32AF

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

Preview Lab → · Contrast checker → · Palette generator →

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