#3216B4#3216B4

#3216B4 is a dark, highly saturated violet. Relative luminance 0.045; OKLCH L 38.3% C 0.221 H 276.1°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#3216B4
RGBrgb(50, 22, 180)
HSLhsl(251, 78%, 40%)
HSVhsv(251, 88%, 71%)
CMYKcmyk(72.2%, 87.8%, 0%, 29.4%)
CIE-LABlab(25.40, 56.31, -75.95)
CIE-LCHlch(25.40, 94.55, 306.55°)
OKLaboklab(38.26% 0.0236 -0.2194)
OKLCHoklch(38.26% 0.221 276.1)
XYZxyz(9.8378, 4.5463, 43.5302)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3216B4 #98B416
analogous
#1649B4 #3216B4 #8116B4
triadic
#3216B4 #B43216 #16B432
tetradic
#3216B4 #B41649 #98B416 #16B481
square
#3216B4 #B41649 #98B416 #16B481
split-complementary
#3216B4 #B48116 #49B416
monochromatic
#140947 #230F7D #3216B4 #4523E4 #735AEB

Accessibility & contrast

On white

11.00
#3216B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#3216B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3216B4
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3216B4#FFFFFF#000000##FFFFFF
##3216B41.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B8
Deuteranopia (green-blind)
#0035B1
Tritanopia (blue-blind)
#004C6A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3216b4;
/* rgb */ color: rgb(50, 22, 180);
/* oklch */ color: oklch(38.3% 0.221 276.1);
Tailwind
colors: {
  custom: {
    50: '#805ccc',
    500: '#3216b4',
    950: '#000000',
  },
}
SCSS
$custom: #3216b4;
$custom-light: #805ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#3216b4",
  "rgb": {
    "r": 50,
    "g": 22,
    "b": 180
  },
  "hsl": {
    "h": 250.633,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38264,
    "c": 0.22067,
    "h": 276.1
  },
  "luminance": 0.04547
}

Semantic roles & 50–950 ramp

primary
#3216B4
secondary
#B9CE58
accent
#F533D2
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0414
muted
#7D7982

Preview Lab

Preview with #3216B4

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

Preview Lab → · Contrast checker → · Palette generator →

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