#32016A#32016A

#32016A is a dark, vivid violet. Relative luminance 0.017; OKLCH L 28.0% C 0.153 H 294.3°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#32016A
RGBrgb(50, 1, 106)
HSLhsl(268, 98%, 21%)
HSVhsv(268, 99%, 42%)
CMYKcmyk(52.8%, 99.1%, 0%, 58.4%)
CIE-LABlab(14.06, 43.28, -48.54)
CIE-LCHlch(14.06, 65.03, 311.72°)
OKLaboklab(27.98% 0.0629 -0.1394)
OKLCHoklch(27.98% 0.153 294.3)
XYZxyz(3.9270, 1.7403, 13.7619)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32016A #396A01
analogous
#01046A #32016A #66016A
triadic
#32016A #6A3201 #016A32
tetradic
#32016A #6A0104 #396A01 #016A66
square
#32016A #6A0104 #396A01 #016A66
split-complementary
#32016A #6A6601 #046A01
monochromatic
#0E001E #15002D #32016A #4F02A7 #6B02E3

Accessibility & contrast

On white

15.58
#32016A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#32016A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32016A
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32016A#FFFFFF#000000##FFFFFF
##32016A1.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00256D
Deuteranopia (green-blind)
#002268
Tritanopia (blue-blind)
#20263B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #32016a;
/* rgb */ color: rgb(50, 1, 106);
/* oklch */ color: oklch(28.0% 0.153 294.3);
Tailwind
colors: {
  custom: {
    50: '#724d96',
    500: '#32016a',
    950: '#000000',
  },
}
SCSS
$custom: #32016a;
$custom-light: #724d96;
$custom-dark: #000000;
JSON
{
  "hex": "#32016a",
  "rgb": {
    "r": 50,
    "g": 1,
    "b": 106
  },
  "hsl": {
    "h": 268,
    "s": 98.131,
    "l": 20.98
  },
  "oklch": {
    "l": 0.27982,
    "c": 0.15293,
    "h": 294.3
  },
  "luminance": 0.0174
}

Semantic roles & 50–950 ramp

primary
#32016A
secondary
#68A81F
accent
#FF299B
background
#F7F4F9
surface
#EDE7F2
border
#C8C3CC
text
#09020D
muted
#7B787E

Preview Lab

Preview with #32016A

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

Preview Lab → · Contrast checker → · Palette generator →

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