#4224A8#4224A8

#4224A8 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.194 H 283.5°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#4224A8
RGBrgb(66, 36, 168)
HSLhsl(254, 65%, 40%)
HSVhsv(254, 79%, 66%)
CMYKcmyk(60.7%, 78.6%, 0%, 34.1%)
CIE-LABlab(27.43, 48.42, -65.35)
CIE-LCHlch(27.43, 81.33, 306.53°)
OKLaboklab(39.61% 0.0454 -0.1884)
OKLCHoklch(39.61% 0.194 283.5)
XYZxyz(9.9433, 5.2465, 37.5269)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4224A8 #8AA824
analogous
#2448A8 #4224A8 #8424A8
triadic
#4224A8 #A84224 #24A842
tetradic
#4224A8 #A82448 #8AA824 #24A884
square
#4224A8 #A82448 #8AA824 #24A884
split-complementary
#4224A8 #A88424 #48A824
monochromatic
#1A0E43 #2E1976 #4224A8 #5935D4 #8368DF

Accessibility & contrast

On white

10.25
#4224A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4224A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4224A8#FFFFFF#000000##FFFFFF
##4224A81.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AC
Deuteranopia (green-blind)
#003CA6
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4224a8;
/* rgb */ color: rgb(66, 36, 168);
/* oklch */ color: oklch(39.6% 0.194 283.5);
Tailwind
colors: {
  custom: {
    50: '#8363c3',
    500: '#4224a8',
    950: '#000000',
  },
}
SCSS
$custom: #4224a8;
$custom-light: #8363c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4224a8",
  "rgb": {
    "r": 66,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 253.636,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.39608,
    "c": 0.1938,
    "h": 283.5
  },
  "luminance": 0.05247
}

Semantic roles & 50–950 ramp

primary
#4224A8
secondary
#AEC463
accent
#E840C2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #4224A8

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

Preview Lab → · Contrast checker → · Palette generator →

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