#32164F#32164F

#32164F is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.5% C 0.101 H 302.8°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#32164F
RGBrgb(50, 22, 79)
HSLhsl(269, 56%, 20%)
HSVhsv(269, 72%, 31%)
CMYKcmyk(36.7%, 72.2%, 0%, 69%)
CIE-LABlab(14.49, 26.81, -29.73)
CIE-LCHlch(14.49, 40.03, 312.05°)
OKLaboklab(27.46% 0.0545 -0.0844)
OKLCHoklch(27.46% 0.101 302.8)
XYZxyz(3.0133, 1.8164, 7.5875)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32164F #334F16
analogous
#16164F #32164F #4F164F
triadic
#32164F #4F3216 #164F32
tetradic
#32164F #4F1616 #334F16 #164F4F
square
#32164F #4F1616 #334F16 #164F4F
split-complementary
#32164F #4F4F16 #164F16
monochromatic
#0F0718 #14091F #32164F #50237F #6F31AF

Accessibility & contrast

On white

15.40
#32164F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#32164F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32164F
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32164F#FFFFFF#000000##FFFFFF
##32164F1.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002451
Deuteranopia (green-blind)
#03244E
Tritanopia (blue-blind)
#2C2330
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #32164f;
/* rgb */ color: rgb(50, 22, 79);
/* oklch */ color: oklch(27.5% 0.101 302.8);
Tailwind
colors: {
  custom: {
    50: '#6d5581',
    500: '#32164f',
    950: '#000000',
  },
}
SCSS
$custom: #32164f;
$custom-light: #6d5581;
$custom-dark: #000000;
JSON
{
  "hex": "#32164f",
  "rgb": {
    "r": 50,
    "g": 22,
    "b": 79
  },
  "hsl": {
    "h": 269.474,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27457,
    "c": 0.10052,
    "h": 302.8
  },
  "luminance": 0.01816
}

Semantic roles & 50–950 ramp

primary
#32164F
secondary
#61863A
accent
#E04895
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #32164F

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

Preview Lab → · Contrast checker → · Palette generator →

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