#32166F#32166F

#32166F is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.141 H 289.6°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#32166F
RGBrgb(50, 22, 111)
HSLhsl(259, 67%, 26%)
HSVhsv(259, 80%, 44%)
CMYKcmyk(55%, 80.2%, 0%, 56.5%)
CIE-LABlab(17.46, 36.28, -46.21)
CIE-LCHlch(17.46, 58.75, 308.13°)
OKLaboklab(30.48% 0.0473 -0.1328)
OKLCHoklch(30.48% 0.141 289.6)
XYZxyz(4.4707, 2.3994, 15.2634)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32166F #536F16
analogous
#16276F #32166F #5E166F
triadic
#32166F #6F3216 #166F32
tetradic
#32166F #6F1627 #536F16 #166F5E
square
#32166F #6F1627 #536F16 #166F5E
split-complementary
#32166F #6F5E16 #276F16
monochromatic
#0C051A #1B0C3C #32166F #4920A2 #602BD5

Accessibility & contrast

On white

14.19
#32166F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32166F
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32166F#FFFFFF#000000##FFFFFF
##32166F1.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D72
Deuteranopia (green-blind)
#00296D
Tritanopia (blue-blind)
#1B2F42
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #32166f;
/* rgb */ color: rgb(50, 22, 111);
/* oklch */ color: oklch(30.5% 0.141 289.6);
Tailwind
colors: {
  custom: {
    50: '#725799',
    500: '#32166f',
    950: '#000000',
  },
}
SCSS
$custom: #32166f;
$custom-light: #725799;
$custom-dark: #000000;
JSON
{
  "hex": "#32166f",
  "rgb": {
    "r": 50,
    "g": 22,
    "b": 111
  },
  "hsl": {
    "h": 258.876,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30477,
    "c": 0.141,
    "h": 289.6
  },
  "luminance": 0.024
}

Semantic roles & 50–950 ramp

primary
#32166F
secondary
#84A53C
accent
#EA3EB4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #32166F

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

Preview Lab → · Contrast checker → · Palette generator →

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