#32167B#32167B

#32167B is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.7% C 0.156 H 286.2°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#32167B
RGBrgb(50, 22, 123)
HSLhsl(257, 70%, 28%)
HSVhsv(257, 82%, 48%)
CMYKcmyk(59.3%, 82.1%, 0%, 51.8%)
CIE-LABlab(18.72, 39.86, -51.86)
CIE-LCHlch(18.72, 65.41, 307.55°)
OKLaboklab(31.74% 0.0434 -0.1494)
OKLCHoklch(31.74% 0.156 286.2)
XYZxyz(5.1764, 2.6817, 18.9799)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32167B #5F7B16
analogous
#162C7B #32167B #64167B
triadic
#32167B #7B3216 #167B32
tetradic
#32167B #7B162C #5F7B16 #167B64
square
#32167B #7B162C #5F7B16 #167B64
split-complementary
#32167B #7B6416 #2C7B16
monochromatic
#0B051A #1D0D47 #32167B #471FAF #6031DA

Accessibility & contrast

On white

13.67
#32167B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#32167B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32167B
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32167B#FFFFFF#000000##FFFFFF
##32167B1.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307E
Deuteranopia (green-blind)
#002B79
Tritanopia (blue-blind)
#0D3449
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #32167b;
/* rgb */ color: rgb(50, 22, 123);
/* oklch */ color: oklch(31.7% 0.156 286.2);
Tailwind
colors: {
  custom: {
    50: '#7458a2',
    500: '#32167b',
    950: '#000000',
  },
}
SCSS
$custom: #32167b;
$custom-light: #7458a2;
$custom-dark: #000000;
JSON
{
  "hex": "#32167b",
  "rgb": {
    "r": 50,
    "g": 22,
    "b": 123
  },
  "hsl": {
    "h": 256.634,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31739,
    "c": 0.15554,
    "h": 286.2
  },
  "luminance": 0.02682
}

Semantic roles & 50–950 ramp

primary
#32167B
secondary
#90B03D
accent
#EC3BBB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #32167B

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

Preview Lab → · Contrast checker → · Palette generator →

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