#4224AA#4224AA

#4224AA is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.8% C 0.196 H 283.2°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#4224AA
RGBrgb(66, 36, 170)
HSLhsl(253, 65%, 40%)
HSVhsv(253, 79%, 67%)
CMYKcmyk(61.2%, 78.8%, 0%, 33.3%)
CIE-LABlab(27.63, 49.00, -66.22)
CIE-LCHlch(27.63, 82.38, 306.50°)
OKLaboklab(39.81% 0.0448 -0.1909)
OKLCHoklch(39.81% 0.196 283.2)
XYZxyz(10.1311, 5.3216, 38.5157)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4224AA #8CAA24
analogous
#2449AA #4224AA #8524AA
triadic
#4224AA #AA4224 #24AA42
tetradic
#4224AA #AA2449 #8CAA24 #24AA85
square
#4224AA #AA2449 #8CAA24 #24AA85
split-complementary
#4224AA #AA8524 #49AA24
monochromatic
#1B0F45 #2E1977 #4224AA #5A37D5 #8469DF

Accessibility & contrast

On white

10.17
#4224AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4224AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4224AA#FFFFFF#000000##FFFFFF
##4224AA1.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AE
Deuteranopia (green-blind)
#003DA8
Tritanopia (blue-blind)
#004C67
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4224aa;
/* rgb */ color: rgb(66, 36, 170);
/* oklch */ color: oklch(39.8% 0.196 283.2);
Tailwind
colors: {
  custom: {
    50: '#8463c5',
    500: '#4224aa',
    950: '#000000',
  },
}
SCSS
$custom: #4224aa;
$custom-light: #8463c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4224aa",
  "rgb": {
    "r": 66,
    "g": 36,
    "b": 170
  },
  "hsl": {
    "h": 253.433,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39813,
    "c": 0.19611,
    "h": 283.2
  },
  "luminance": 0.05322
}

Semantic roles & 50–950 ramp

primary
#4224AA
secondary
#B0C565
accent
#E840C2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4224AA

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

Preview Lab → · Contrast checker → · Palette generator →

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