#3216A1#3216A1

#3216A1 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 36.0% C 0.200 H 278.7°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#3216A1
RGBrgb(50, 22, 161)
HSLhsl(252, 76%, 36%)
HSVhsv(252, 86%, 63%)
CMYKcmyk(68.9%, 86.3%, 0%, 36.9%)
CIE-LABlab(23.08, 50.97, -68.34)
CIE-LCHlch(23.08, 85.25, 306.72°)
OKLaboklab(36.02% 0.0301 -0.1973)
OKLCHoklch(36.02% 0.2 278.7)
XYZxyz(8.0333, 3.8244, 34.0261)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3216A1 #85A116
analogous
#1640A1 #3216A1 #7716A1
triadic
#3216A1 #A13216 #16A132
tetradic
#3216A1 #A11640 #85A116 #16A177
square
#3216A1 #A11640 #85A116 #16A177
split-complementary
#3216A1 #A17716 #40A116
monochromatic
#110735 #210F6B #3216A1 #431DD7 #6A4BE6

Accessibility & contrast

On white

11.90
#3216A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#3216A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3216A1
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3216A1#FFFFFF#000000##FFFFFF
##3216A11.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA5
Deuteranopia (green-blind)
#00319F
Tritanopia (blue-blind)
#00445F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3216a1;
/* rgb */ color: rgb(50, 22, 161);
/* oklch */ color: oklch(36.0% 0.200 278.7);
Tailwind
colors: {
  custom: {
    50: '#7c5bbe',
    500: '#3216a1',
    950: '#000000',
  },
}
SCSS
$custom: #3216a1;
$custom-light: #7c5bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3216a1",
  "rgb": {
    "r": 50,
    "g": 22,
    "b": 161
  },
  "hsl": {
    "h": 252.086,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3602,
    "c": 0.1996,
    "h": 278.7
  },
  "luminance": 0.03825
}

Semantic roles & 50–950 ramp

primary
#3216A1
secondary
#AFC84B
accent
#F335CC
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #3216A1

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

Preview Lab → · Contrast checker → · Palette generator →

#3216A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva