#32164C#32164C

#32164C is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.2% C 0.097 H 304.6°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#32164C
RGBrgb(50, 22, 76)
HSLhsl(271, 55%, 19%)
HSVhsv(271, 71%, 30%)
CMYKcmyk(34.2%, 71.1%, 0%, 70.2%)
CIE-LABlab(14.25, 25.96, -28.06)
CIE-LCHlch(14.25, 38.23, 312.78°)
OKLaboklab(27.21% 0.0548 -0.0795)
OKLCHoklch(27.21% 0.097 304.6)
XYZxyz(2.9065, 1.7737, 7.0253)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32164C #304C16
analogous
#17164C #32164C #4C164B
triadic
#32164C #4C3216 #164C32
tetradic
#32164C #4C1716 #304C16 #164B4C
square
#32164C #4C1716 #304C16 #164B4C
split-complementary
#32164C #4B4C16 #164C17
monochromatic
#100718 #13081D #32164C #51247B #7031AB

Accessibility & contrast

On white

15.50
#32164C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#32164C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32164C
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32164C#FFFFFF#000000##FFFFFF
##32164C1.0015.501.3515.50
#FFFFFF15.501.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234E
Deuteranopia (green-blind)
#07244B
Tritanopia (blue-blind)
#2D222E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #32164c;
/* rgb */ color: rgb(50, 22, 76);
/* oklch */ color: oklch(27.2% 0.097 304.6);
Tailwind
colors: {
  custom: {
    50: '#6c557e',
    500: '#32164c',
    950: '#000000',
  },
}
SCSS
$custom: #32164c;
$custom-light: #6c557e;
$custom-dark: #000000;
JSON
{
  "hex": "#32164c",
  "rgb": {
    "r": 50,
    "g": 22,
    "b": 76
  },
  "hsl": {
    "h": 271.111,
    "s": 55.102,
    "l": 19.216
  },
  "oklch": {
    "l": 0.27207,
    "c": 0.0966,
    "h": 304.6
  },
  "luminance": 0.01774
}

Semantic roles & 50–950 ramp

primary
#32164C
secondary
#5E843A
accent
#DE4991
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #32164C

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

Preview Lab → · Contrast checker → · Palette generator →

#32164C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva