#4216B4#4216B4

#4216B4 is a dark, highly saturated violet. Relative luminance 0.050; OKLCH L 39.6% C 0.218 H 282.8°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#4216B4
RGBrgb(66, 22, 180)
HSLhsl(257, 78%, 40%)
HSVhsv(257, 88%, 71%)
CMYKcmyk(63.3%, 87.8%, 0%, 29.4%)
CIE-LABlab(26.81, 57.42, -73.57)
CIE-LCHlch(26.81, 93.33, 307.97°)
OKLaboklab(39.57% 0.0481 -0.2121)
OKLCHoklch(39.57% 0.218 282.8)
XYZxyz(10.7693, 5.0266, 43.5739)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4216B4 #88B416
analogous
#1639B4 #4216B4 #9116B4
triadic
#4216B4 #B44216 #16B442
tetradic
#4216B4 #B41639 #88B416 #16B491
square
#4216B4 #B41639 #88B416 #16B491
split-complementary
#4216B4 #B49116 #39B416
monochromatic
#1A0947 #2E0F7D #4216B4 #5923E4 #825AEB

Accessibility & contrast

On white

10.47
#4216B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4216B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4216B4
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4216B4#FFFFFF#000000##FFFFFF
##4216B41.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B8
Deuteranopia (green-blind)
#003AB1
Tritanopia (blue-blind)
#004B6A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4216b4;
/* rgb */ color: rgb(66, 22, 180);
/* oklch */ color: oklch(39.6% 0.218 282.8);
Tailwind
colors: {
  custom: {
    50: '#865ecc',
    500: '#4216b4',
    950: '#000000',
  },
}
SCSS
$custom: #4216b4;
$custom-light: #865ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#4216b4",
  "rgb": {
    "r": 66,
    "g": 22,
    "b": 180
  },
  "hsl": {
    "h": 256.709,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.3957,
    "c": 0.21754,
    "h": 282.8
  },
  "luminance": 0.05027
}

Semantic roles & 50–950 ramp

primary
#4216B4
secondary
#ADCE58
accent
#F533BF
background
#F9F5FC
surface
#F1E9F9
border
#CBC5D2
text
#0D0514
muted
#7E7982

Preview Lab

Preview with #4216B4

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

Preview Lab → · Contrast checker → · Palette generator →

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