#4224A5#4224A5

#4224A5 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.190 H 284.1°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#4224A5
RGBrgb(66, 36, 165)
HSLhsl(254, 64%, 39%)
HSVhsv(254, 78%, 65%)
CMYKcmyk(60%, 78.2%, 0%, 35.3%)
CIE-LABlab(27.12, 47.54, -64.05)
CIE-LCHlch(27.12, 79.76, 306.58°)
OKLaboklab(39.3% 0.0463 -0.1846)
OKLCHoklch(39.3% 0.19 284.1)
XYZxyz(9.6671, 5.1360, 36.0720)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4224A5 #87A524
analogous
#2447A5 #4224A5 #8224A5
triadic
#4224A5 #A54224 #24A542
tetradic
#4224A5 #A52447 #87A524 #24A582
square
#4224A5 #A52447 #87A524 #24A582
split-complementary
#4224A5 #A58224 #47A524
monochromatic
#1A0E41 #2E1973 #4224A5 #5934D3 #8266DE

Accessibility & contrast

On white

10.36
#4224A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4224A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4224A5#FFFFFF#000000##FFFFFF
##4224A51.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A9
Deuteranopia (green-blind)
#003CA3
Tritanopia (blue-blind)
#004A64
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4224a5;
/* rgb */ color: rgb(66, 36, 165);
/* oklch */ color: oklch(39.3% 0.190 284.1);
Tailwind
colors: {
  custom: {
    50: '#8363c1',
    500: '#4224a5',
    950: '#000000',
  },
}
SCSS
$custom: #4224a5;
$custom-light: #8363c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4224a5",
  "rgb": {
    "r": 66,
    "g": 36,
    "b": 165
  },
  "hsl": {
    "h": 253.953,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39302,
    "c": 0.1903,
    "h": 284.1
  },
  "luminance": 0.05137
}

Semantic roles & 50–950 ramp

primary
#4224A5
secondary
#ACC362
accent
#E741C0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4224A5

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

Preview Lab → · Contrast checker → · Palette generator →

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