#4216A1#4216A1

#4216A1 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.5% C 0.197 H 286.4°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#4216A1
RGBrgb(66, 22, 161)
HSLhsl(259, 76%, 36%)
HSVhsv(259, 86%, 63%)
CMYKcmyk(59%, 86.3%, 0%, 36.9%)
CIE-LABlab(24.65, 52.37, -65.69)
CIE-LCHlch(24.65, 84.00, 308.56°)
OKLaboklab(37.47% 0.0556 -0.1892)
OKLCHoklch(37.47% 0.197 286.4)
XYZxyz(8.9648, 4.3047, 34.0698)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4216A1 #75A116
analogous
#162FA1 #4216A1 #8716A1
triadic
#4216A1 #A14216 #16A142
tetradic
#4216A1 #A1162F #75A116 #16A187
square
#4216A1 #A1162F #75A116 #16A187
split-complementary
#4216A1 #A18716 #2FA116
monochromatic
#160735 #2C0F6B #4216A1 #581DD7 #7C4BE6

Accessibility & contrast

On white

11.28
#4216A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#4216A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4216A1
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4216A1#FFFFFF#000000##FFFFFF
##4216A11.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA5
Deuteranopia (green-blind)
#00379F
Tritanopia (blue-blind)
#0D435F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4216a1;
/* rgb */ color: rgb(66, 22, 161);
/* oklch */ color: oklch(37.5% 0.197 286.4);
Tailwind
colors: {
  custom: {
    50: '#835cbe',
    500: '#4216a1',
    950: '#000000',
  },
}
SCSS
$custom: #4216a1;
$custom-light: #835cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4216a1",
  "rgb": {
    "r": 66,
    "g": 22,
    "b": 161
  },
  "hsl": {
    "h": 258.993,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37473,
    "c": 0.1972,
    "h": 286.4
  },
  "luminance": 0.04305
}

Semantic roles & 50–950 ramp

primary
#4216A1
secondary
#A0C84B
accent
#F335B7
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0412
muted
#7D7981

Preview Lab

Preview with #4216A1

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

Preview Lab → · Contrast checker → · Palette generator →

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