#4224BA#4224BA

#4224BA is a dark, highly saturated violet. Relative luminance 0.060; OKLCH L 41.5% C 0.214 H 280.7°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#4224BA
RGBrgb(66, 36, 186)
HSLhsl(252, 68%, 44%)
HSVhsv(252, 81%, 73%)
CMYKcmyk(64.5%, 80.6%, 0%, 27.1%)
CIE-LABlab(29.32, 53.64, -72.98)
CIE-LCHlch(29.32, 90.57, 306.31°)
OKLaboklab(41.49% 0.04 -0.2106)
OKLCHoklch(41.49% 0.214 280.7)
XYZxyz(11.7378, 5.9643, 46.9775)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4224BA #9CBA24
analogous
#2451BA #4224BA #8D24BA
triadic
#4224BA #BA4224 #24BA42
tetradic
#4224BA #BA2451 #9CBA24 #24BA8D
square
#4224BA #BA2451 #9CBA24 #24BA8D
split-complementary
#4224BA #BA8D24 #51BA24
monochromatic
#1E1053 #301A87 #4224BA #6041DA #8B74E4

Accessibility & contrast

On white

9.58
#4224BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4224BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4224BA
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4224BA#FFFFFF#000000##FFFFFF
##4224BA1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABE
Deuteranopia (green-blind)
#003FB7
Tritanopia (blue-blind)
#005270
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4224ba;
/* rgb */ color: rgb(66, 36, 186);
/* oklch */ color: oklch(41.5% 0.214 280.7);
Tailwind
colors: {
  custom: {
    50: '#8764d0',
    500: '#4224ba',
    950: '#000000',
  },
}
SCSS
$custom: #4224ba;
$custom-light: #8764d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4224ba",
  "rgb": {
    "r": 66,
    "g": 36,
    "b": 186
  },
  "hsl": {
    "h": 252,
    "s": 67.568,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41488,
    "c": 0.2144,
    "h": 280.7
  },
  "luminance": 0.05965
}

Semantic roles & 50–950 ramp

primary
#4224BA
secondary
#B9CB6E
accent
#EA3DC8
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4224BA

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

Preview Lab → · Contrast checker → · Palette generator →

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