#4216A0#4216A0

#4216A0 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.4% C 0.196 H 286.6°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#4216A0
RGBrgb(66, 22, 160)
HSLhsl(259, 76%, 36%)
HSVhsv(259, 86%, 63%)
CMYKcmyk(58.8%, 86.3%, 0%, 37.3%)
CIE-LABlab(24.54, 52.10, -65.26)
CIE-LCHlch(24.54, 83.50, 308.60°)
OKLaboklab(37.36% 0.056 -0.188)
OKLCHoklch(37.36% 0.196 286.6)
XYZxyz(8.8769, 4.2696, 33.6072)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4216A0 #74A016
analogous
#162FA0 #4216A0 #8716A0
triadic
#4216A0 #A04216 #16A042
tetradic
#4216A0 #A0162F #74A016 #16A087
square
#4216A0 #A0162F #74A016 #16A087
split-complementary
#4216A0 #A08716 #2FA016
monochromatic
#160734 #2C0F6A #4216A0 #581DD6 #7C4AE6

Accessibility & contrast

On white

11.33
#4216A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#4216A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4216A0
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4216A0#FFFFFF#000000##FFFFFF
##4216A01.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA4
Deuteranopia (green-blind)
#00369E
Tritanopia (blue-blind)
#0F425E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4216a0;
/* rgb */ color: rgb(66, 22, 160);
/* oklch */ color: oklch(37.4% 0.196 286.6);
Tailwind
colors: {
  custom: {
    50: '#835cbd',
    500: '#4216a0',
    950: '#000000',
  },
}
SCSS
$custom: #4216a0;
$custom-light: #835cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#4216a0",
  "rgb": {
    "r": 66,
    "g": 22,
    "b": 160
  },
  "hsl": {
    "h": 259.13,
    "s": 75.824,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37365,
    "c": 0.19612,
    "h": 286.6
  },
  "luminance": 0.0427
}

Semantic roles & 50–950 ramp

primary
#4216A0
secondary
#A0C84A
accent
#F235B6
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0412
muted
#7D7981

Preview Lab

Preview with #4216A0

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

Preview Lab → · Contrast checker → · Palette generator →

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