#4224A2#4224A2

#4224A2 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.187 H 284.6°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#4224A2
RGBrgb(66, 36, 162)
HSLhsl(254, 64%, 39%)
HSVhsv(254, 78%, 64%)
CMYKcmyk(59.3%, 77.8%, 0%, 36.5%)
CIE-LABlab(26.81, 46.66, -62.73)
CIE-LCHlch(26.81, 78.18, 306.64°)
OKLaboklab(39% 0.0471 -0.1807)
OKLCHoklch(39% 0.187 284.6)
XYZxyz(9.3972, 5.0280, 34.6507)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4224A2 #84A224
analogous
#2445A2 #4224A2 #8124A2
triadic
#4224A2 #A24224 #24A242
tetradic
#4224A2 #A22445 #84A224 #24A281
square
#4224A2 #A22445 #84A224 #24A281
split-complementary
#4224A2 #A28124 #45A224
monochromatic
#190E3E #2E1970 #4224A2 #5832D1 #8164DD

Accessibility & contrast

On white

10.47
#4224A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4224A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4224A2#FFFFFF#000000##FFFFFF
##4224A21.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)
#0043A6
Deuteranopia (green-blind)
#003BA0
Tritanopia (blue-blind)
#084862
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4224a2;
/* rgb */ color: rgb(66, 36, 162);
/* oklch */ color: oklch(39.0% 0.187 284.6);
Tailwind
colors: {
  custom: {
    50: '#8263bf',
    500: '#4224a2',
    950: '#000000',
  },
}
SCSS
$custom: #4224a2;
$custom-light: #8263bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4224a2",
  "rgb": {
    "r": 66,
    "g": 36,
    "b": 162
  },
  "hsl": {
    "h": 254.286,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38998,
    "c": 0.18678,
    "h": 284.6
  },
  "luminance": 0.05029
}

Semantic roles & 50–950 ramp

primary
#4224A2
secondary
#ABC260
accent
#E741BF
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4224A2

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

Preview Lab → · Contrast checker → · Palette generator →

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