#32167F#32167F

#32167F is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.160 H 285.2°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#32167F
RGBrgb(50, 22, 127)
HSLhsl(256, 70%, 29%)
HSVhsv(256, 83%, 50%)
CMYKcmyk(60.6%, 82.7%, 0%, 50.2%)
CIE-LABlab(19.16, 41.06, -53.69)
CIE-LCHlch(19.16, 67.59, 307.41°)
OKLaboklab(32.17% 0.042 -0.1547)
OKLCHoklch(32.17% 0.16 285.2)
XYZxyz(5.4319, 2.7839, 20.3257)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32167F #637F16
analogous
#162F7F #32167F #67167F
triadic
#32167F #7F3216 #167F32
tetradic
#32167F #7F162F #637F16 #167F67
square
#32167F #7F162F #637F16 #167F67
split-complementary
#32167F #7F6716 #2F7F16
monochromatic
#0A051A #1D0D4B #32167F #471FB3 #6034DC

Accessibility & contrast

On white

13.49
#32167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#32167F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32167F
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32167F#FFFFFF#000000##FFFFFF
##32167F1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003182
Deuteranopia (green-blind)
#002B7D
Tritanopia (blue-blind)
#05364B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #32167f;
/* rgb */ color: rgb(50, 22, 127);
/* oklch */ color: oklch(32.2% 0.160 285.2);
Tailwind
colors: {
  custom: {
    50: '#7558a5',
    500: '#32167f',
    950: '#000000',
  },
}
SCSS
$custom: #32167f;
$custom-light: #7558a5;
$custom-dark: #000000;
JSON
{
  "hex": "#32167f",
  "rgb": {
    "r": 50,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 256,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32171,
    "c": 0.16031,
    "h": 285.2
  },
  "luminance": 0.02784
}

Semantic roles & 50–950 ramp

primary
#32167F
secondary
#94B43D
accent
#ED3BBE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #32167F

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

Preview Lab → · Contrast checker → · Palette generator →

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