#32166C#32166C

#32166C is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.2% C 0.137 H 290.5°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#32166C
RGBrgb(50, 22, 108)
HSLhsl(260, 66%, 25%)
HSVhsv(260, 80%, 42%)
CMYKcmyk(53.7%, 79.6%, 0%, 57.6%)
CIE-LABlab(17.15, 35.38, -44.76)
CIE-LCHlch(17.15, 57.05, 308.32°)
OKLaboklab(30.17% 0.0482 -0.1286)
OKLCHoklch(30.17% 0.137 290.5)
XYZxyz(4.3083, 2.3345, 14.4080)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32166C #506C16
analogous
#16256C #32166C #5D166C
triadic
#32166C #6C3216 #166C32
tetradic
#32166C #6C1625 #506C16 #166C5D
square
#32166C #6C1625 #506C16 #166C5D
split-complementary
#32166C #6C5D16 #256C16
monochromatic
#0C0519 #1A0C39 #32166C #4A209F #612BD2

Accessibility & contrast

On white

14.31
#32166C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#32166C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32166C
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32166C#FFFFFF#000000##FFFFFF
##32166C1.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6E
Deuteranopia (green-blind)
#00286A
Tritanopia (blue-blind)
#1D2E40
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #32166c;
/* rgb */ color: rgb(50, 22, 108);
/* oklch */ color: oklch(30.2% 0.137 290.5);
Tailwind
colors: {
  custom: {
    50: '#715797',
    500: '#32166c',
    950: '#000000',
  },
}
SCSS
$custom: #32166c;
$custom-light: #715797;
$custom-dark: #000000;
JSON
{
  "hex": "#32166c",
  "rgb": {
    "r": 50,
    "g": 22,
    "b": 108
  },
  "hsl": {
    "h": 259.535,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30171,
    "c": 0.13731,
    "h": 290.5
  },
  "luminance": 0.02335
}

Semantic roles & 50–950 ramp

primary
#32166C
secondary
#81A23C
accent
#E93FB2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #32166C

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

Preview Lab → · Contrast checker → · Palette generator →

#32166C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva