#3216A0#3216A0

#3216A0 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.9% C 0.198 H 278.8°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#3216A0
RGBrgb(50, 22, 160)
HSLhsl(252, 76%, 36%)
HSVhsv(252, 86%, 63%)
CMYKcmyk(68.8%, 86.3%, 0%, 37.3%)
CIE-LABlab(22.96, 50.68, -67.93)
CIE-LCHlch(22.96, 84.75, 306.73°)
OKLaboklab(35.9% 0.0304 -0.1961)
OKLCHoklch(35.9% 0.198 278.8)
XYZxyz(7.9454, 3.7893, 33.5636)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3216A0 #84A016
analogous
#163FA0 #3216A0 #7716A0
triadic
#3216A0 #A03216 #16A032
tetradic
#3216A0 #A0163F #84A016 #16A077
square
#3216A0 #A0163F #84A016 #16A077
split-complementary
#3216A0 #A07716 #3FA016
monochromatic
#100734 #210F6A #3216A0 #431DD6 #6A4AE6

Accessibility & contrast

On white

11.95
#3216A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#3216A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3216A0
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3216A0#FFFFFF#000000##FFFFFF
##3216A01.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA4
Deuteranopia (green-blind)
#00319E
Tritanopia (blue-blind)
#00435E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3216a0;
/* rgb */ color: rgb(50, 22, 160);
/* oklch */ color: oklch(35.9% 0.198 278.8);
Tailwind
colors: {
  custom: {
    50: '#7b5abe',
    500: '#3216a0',
    950: '#000000',
  },
}
SCSS
$custom: #3216a0;
$custom-light: #7b5abe;
$custom-dark: #000000;
JSON
{
  "hex": "#3216a0",
  "rgb": {
    "r": 50,
    "g": 22,
    "b": 160
  },
  "hsl": {
    "h": 252.174,
    "s": 75.824,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35903,
    "c": 0.19848,
    "h": 278.8
  },
  "luminance": 0.0379
}

Semantic roles & 50–950 ramp

primary
#3216A0
secondary
#AEC84A
accent
#F235CC
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #3216A0

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

Preview Lab → · Contrast checker → · Palette generator →

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