#32164B#32164B

#32164B is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.1% C 0.095 H 305.2°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#32164B
RGBrgb(50, 22, 75)
HSLhsl(272, 55%, 19%)
HSVhsv(272, 71%, 29%)
CMYKcmyk(33.3%, 70.7%, 0%, 70.6%)
CIE-LABlab(14.17, 25.68, -27.50)
CIE-LCHlch(14.17, 37.62, 313.04°)
OKLaboklab(27.13% 0.0549 -0.0779)
OKLCHoklch(27.13% 0.095 305.2)
XYZxyz(2.8720, 1.7599, 6.8436)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32164B #2F4B16
analogous
#18164B #32164B #4B164A
triadic
#32164B #4B3216 #164B32
tetradic
#32164B #4B1816 #2F4B16 #164A4B
square
#32164B #4B1816 #2F4B16 #164A4B
split-complementary
#32164B #4A4B16 #164B18
monochromatic
#100718 #12081C #32164B #52247A #7132AA

Accessibility & contrast

On white

15.53
#32164B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32164B
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32164B#FFFFFF#000000##FFFFFF
##32164B1.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234D
Deuteranopia (green-blind)
#09244A
Tritanopia (blue-blind)
#2E212E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #32164b;
/* rgb */ color: rgb(50, 22, 75);
/* oklch */ color: oklch(27.1% 0.095 305.2);
Tailwind
colors: {
  custom: {
    50: '#6c557e',
    500: '#32164b',
    950: '#000000',
  },
}
SCSS
$custom: #32164b;
$custom-light: #6c557e;
$custom-dark: #000000;
JSON
{
  "hex": "#32164b",
  "rgb": {
    "r": 50,
    "g": 22,
    "b": 75
  },
  "hsl": {
    "h": 271.698,
    "s": 54.639,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27125,
    "c": 0.0953,
    "h": 305.2
  },
  "luminance": 0.0176
}

Semantic roles & 50–950 ramp

primary
#32164B
secondary
#5C833A
accent
#DE4A90
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #32164B

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

Preview Lab → · Contrast checker → · Palette generator →

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