#32167A#32167A

#32167A is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.6% C 0.154 H 286.5°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#32167A
RGBrgb(50, 22, 122)
HSLhsl(257, 69%, 28%)
HSVhsv(257, 82%, 48%)
CMYKcmyk(59%, 82%, 0%, 52.2%)
CIE-LABlab(18.61, 39.57, -51.40)
CIE-LCHlch(18.61, 64.86, 307.59°)
OKLaboklab(31.63% 0.0437 -0.148)
OKLCHoklch(31.63% 0.154 286.5)
XYZxyz(5.1141, 2.6568, 18.6519)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32167A #5E7A16
analogous
#162C7A #32167A #64167A
triadic
#32167A #7A3216 #167A32
tetradic
#32167A #7A162C #5E7A16 #167A64
square
#32167A #7A162C #5E7A16 #167A64
split-complementary
#32167A #7A6416 #2C7A16
monochromatic
#0B051A #1D0D46 #32167A #471FAE #6031DA

Accessibility & contrast

On white

13.71
#32167A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#32167A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32167A
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32167A#FFFFFF#000000##FFFFFF
##32167A1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307D
Deuteranopia (green-blind)
#002A78
Tritanopia (blue-blind)
#0F3348
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #32167a;
/* rgb */ color: rgb(50, 22, 122);
/* oklch */ color: oklch(31.6% 0.154 286.5);
Tailwind
colors: {
  custom: {
    50: '#7458a1',
    500: '#32167a',
    950: '#000000',
  },
}
SCSS
$custom: #32167a;
$custom-light: #7458a1;
$custom-dark: #000000;
JSON
{
  "hex": "#32167a",
  "rgb": {
    "r": 50,
    "g": 22,
    "b": 122
  },
  "hsl": {
    "h": 256.8,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.31631,
    "c": 0.15434,
    "h": 286.5
  },
  "luminance": 0.02657
}

Semantic roles & 50–950 ramp

primary
#32167A
secondary
#8FAF3D
accent
#EC3CBB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #32167A

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

Preview Lab → · Contrast checker → · Palette generator →

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