#5E32A3#5E32A3

#5E32A3 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.8% C 0.172 H 296.4°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#5E32A3
RGBrgb(94, 50, 163)
HSLhsl(263, 53%, 42%)
HSVhsv(263, 69%, 64%)
CMYKcmyk(42.3%, 69.3%, 0%, 36.1%)
CIE-LABlab(32.49, 44.34, -53.92)
CIE-LCHlch(32.49, 69.81, 309.43°)
OKLaboklab(43.75% 0.0765 -0.154)
OKLCHoklch(43.75% 0.172 296.4)
XYZxyz(12.3658, 7.3050, 35.4017)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E32A3 #77A332
analogous
#323EA3 #5E32A3 #9732A3
triadic
#5E32A3 #A35E32 #32A35E
tetradic
#5E32A3 #A3323E #77A332 #32A397
square
#5E32A3 #A3323E #77A332 #32A397
split-complementary
#5E32A3 #A39732 #3EA332
monochromatic
#281545 #432474 #5E32A3 #7B4BC8 #9D79D6

Accessibility & contrast

On white

8.53
#5E32A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#5E32A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E32A3
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E32A3#FFFFFF#000000##FFFFFF
##5E32A31.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#004BA1
Tritanopia (blue-blind)
#4C4D66
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5e32a3;
/* rgb */ color: rgb(94, 50, 163);
/* oklch */ color: oklch(43.8% 0.172 296.4);
Tailwind
colors: {
  custom: {
    50: '#926dbf',
    500: '#5e32a3',
    950: '#000000',
  },
}
SCSS
$custom: #5e32a3;
$custom-light: #926dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#5e32a3",
  "rgb": {
    "r": 94,
    "g": 50,
    "b": 163
  },
  "hsl": {
    "h": 263.363,
    "s": 53.052,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43752,
    "c": 0.17201,
    "h": 296.4
  },
  "luminance": 0.07305
}

Semantic roles & 50–950 ramp

primary
#5E32A3
secondary
#A1BF72
accent
#DC4BA4
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5E32A3

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

Preview Lab → · Contrast checker → · Palette generator →

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