#32166E#32166E

#32166E is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.140 H 289.9°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#32166E
RGBrgb(50, 22, 110)
HSLhsl(259, 67%, 26%)
HSVhsv(259, 80%, 43%)
CMYKcmyk(54.5%, 80%, 0%, 56.9%)
CIE-LABlab(17.36, 35.98, -45.73)
CIE-LCHlch(17.36, 58.18, 308.19°)
OKLaboklab(30.37% 0.0476 -0.1314)
OKLCHoklch(30.37% 0.14 289.9)
XYZxyz(4.4160, 2.3775, 14.9751)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32166E #526E16
analogous
#16266E #32166E #5E166E
triadic
#32166E #6E3216 #166E32
tetradic
#32166E #6E1626 #526E16 #166E5E
square
#32166E #6E1626 #526E16 #166E5E
split-complementary
#32166E #6E5E16 #266E16
monochromatic
#0C051A #1B0C3B #32166E #4920A1 #602AD4

Accessibility & contrast

On white

14.23
#32166E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#32166E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32166E
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32166E#FFFFFF#000000##FFFFFF
##32166E1.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C70
Deuteranopia (green-blind)
#00296C
Tritanopia (blue-blind)
#1C2F41
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #32166e;
/* rgb */ color: rgb(50, 22, 110);
/* oklch */ color: oklch(30.4% 0.140 289.9);
Tailwind
colors: {
  custom: {
    50: '#715798',
    500: '#32166e',
    950: '#000000',
  },
}
SCSS
$custom: #32166e;
$custom-light: #715798;
$custom-dark: #000000;
JSON
{
  "hex": "#32166e",
  "rgb": {
    "r": 50,
    "g": 22,
    "b": 110
  },
  "hsl": {
    "h": 259.091,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30374,
    "c": 0.13977,
    "h": 289.9
  },
  "luminance": 0.02378
}

Semantic roles & 50–950 ramp

primary
#32166E
secondary
#83A43C
accent
#EA3EB3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #32166E

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

Preview Lab → · Contrast checker → · Palette generator →

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