#5E327A#5E327A

#5E327A is a dark, vivid violet. Relative luminance 0.061; OKLCH L 40.7% C 0.123 H 310.3°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#5E327A
RGBrgb(94, 50, 122)
HSLhsl(277, 42%, 34%)
HSVhsv(277, 59%, 48%)
CMYKcmyk(23%, 59%, 0%, 52.2%)
CIE-LABlab(29.58, 33.68, -33.36)
CIE-LCHlch(29.58, 47.40, 315.28°)
OKLaboklab(40.72% 0.0794 -0.0937)
OKLCHoklch(40.72% 0.123 310.3)
XYZxyz(9.2689, 6.0662, 19.0912)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E327A #4E7A32
analogous
#3A327A #5E327A #7A3272
triadic
#5E327A #7A5E32 #327A5E
tetradic
#5E327A #7A3A32 #4E7A32 #32727A
square
#5E327A #7A3A32 #4E7A32 #32727A
split-complementary
#5E327A #727A32 #327A3A
monochromatic
#1B0E23 #3D204F #5E327A #7F44A5 #9D66C0

Accessibility & contrast

On white

9.49
#5E327A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#5E327A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E327A
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E327A#FFFFFF#000000##FFFFFF
##5E327A1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B447C
Deuteranopia (green-blind)
#2B4678
Tritanopia (blue-blind)
#5A3F51
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5e327a;
/* rgb */ color: rgb(94, 50, 122);
/* oklch */ color: oklch(40.7% 0.123 310.3);
Tailwind
colors: {
  custom: {
    50: '#8e6ca1',
    500: '#5e327a',
    950: '#000000',
  },
}
SCSS
$custom: #5e327a;
$custom-light: #8e6ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e327a",
  "rgb": {
    "r": 94,
    "g": 50,
    "b": 122
  },
  "hsl": {
    "h": 276.667,
    "s": 41.86,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4072,
    "c": 0.12276,
    "h": 310.3
  },
  "luminance": 0.06066
}

Semantic roles & 50–950 ramp

primary
#5E327A
secondary
#7CA860
accent
#D25686
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C070F
muted
#7D7A7E

Preview Lab

Preview with #5E327A

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

Preview Lab → · Contrast checker → · Palette generator →

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