#4226AE#4226AE

#4226AE is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.5% C 0.199 H 282.3°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#4226AE
RGBrgb(66, 38, 174)
HSLhsl(252, 64%, 42%)
HSVhsv(252, 78%, 68%)
CMYKcmyk(62.1%, 78.2%, 0%, 31.8%)
CIE-LABlab(28.38, 49.21, -67.39)
CIE-LCHlch(28.38, 83.44, 306.14°)
OKLaboklab(40.46% 0.0424 -0.1944)
OKLCHoklch(40.46% 0.199 282.3)
XYZxyz(10.5775, 5.5997, 40.5597)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4226AE #92AE26
analogous
#264EAE #4226AE #8626AE
triadic
#4226AE #AE4226 #26AE42
tetradic
#4226AE #AE264E #92AE26 #26AE86
square
#4226AE #AE264E #92AE26 #26AE86
split-complementary
#4226AE #AE8626 #4EAE26
monochromatic
#1C104A #2F1B7C #4226AE #5C3DD5 #866FE0

Accessibility & contrast

On white

9.91
#4226AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4226AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4226AE
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4226AE#FFFFFF#000000##FFFFFF
##4226AE1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B2
Deuteranopia (green-blind)
#003EAC
Tritanopia (blue-blind)
#004E69
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4226ae;
/* rgb */ color: rgb(66, 38, 174);
/* oklch */ color: oklch(40.5% 0.199 282.3);
Tailwind
colors: {
  custom: {
    50: '#8465c7',
    500: '#4226ae',
    950: '#000000',
  },
}
SCSS
$custom: #4226ae;
$custom-light: #8465c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4226ae",
  "rgb": {
    "r": 66,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 252.353,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40458,
    "c": 0.19894,
    "h": 282.3
  },
  "luminance": 0.056
}

Semantic roles & 50–950 ramp

primary
#4226AE
secondary
#B3C66A
accent
#E741C5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4226AE

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

Preview Lab → · Contrast checker → · Palette generator →

#4226AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva