#4224B4#4224B4

#4224B4 is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 40.9% C 0.208 H 281.6°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#4224B4
RGBrgb(66, 36, 180)
HSLhsl(253, 67%, 42%)
HSVhsv(253, 80%, 71%)
CMYKcmyk(63.3%, 80%, 0%, 29.4%)
CIE-LABlab(28.68, 51.91, -70.48)
CIE-LCHlch(28.68, 87.53, 306.37°)
OKLaboklab(40.85% 0.0418 -0.2033)
OKLCHoklch(40.85% 0.208 281.6)
XYZxyz(11.1133, 5.7145, 43.6885)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4224B4 #96B424
analogous
#244EB4 #4224B4 #8A24B4
triadic
#4224B4 #B44224 #24B442
tetradic
#4224B4 #B4244E #96B424 #24B48A
square
#4224B4 #B4244E #96B424 #24B48A
split-complementary
#4224B4 #B48A24 #4EB424
monochromatic
#1D104E #2F1A81 #4224B4 #5D3DD8 #8870E2

Accessibility & contrast

On white

9.80
#4224B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4224B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4224B4
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4224B4#FFFFFF#000000##FFFFFF
##4224B41.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B8
Deuteranopia (green-blind)
#003EB1
Tritanopia (blue-blind)
#00506C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4224b4;
/* rgb */ color: rgb(66, 36, 180);
/* oklch */ color: oklch(40.9% 0.208 281.6);
Tailwind
colors: {
  custom: {
    50: '#8664cc',
    500: '#4224b4',
    950: '#000000',
  },
}
SCSS
$custom: #4224b4;
$custom-light: #8664cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4224b4",
  "rgb": {
    "r": 66,
    "g": 36,
    "b": 180
  },
  "hsl": {
    "h": 252.5,
    "s": 66.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40854,
    "c": 0.2076,
    "h": 281.6
  },
  "luminance": 0.05715
}

Semantic roles & 50–950 ramp

primary
#4224B4
secondary
#B5C96B
accent
#EA3EC6
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0614
muted
#7D7A82

Preview Lab

Preview with #4224B4

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

Preview Lab → · Contrast checker → · Palette generator →

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