#4229AE#4229AE

#4229AE is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.8% C 0.196 H 281.9°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#4229AE
RGBrgb(66, 41, 174)
HSLhsl(251, 62%, 42%)
HSVhsv(251, 76%, 68%)
CMYKcmyk(62.1%, 76.4%, 0%, 31.8%)
CIE-LABlab(28.90, 47.72, -66.53)
CIE-LCHlch(28.90, 81.87, 305.65°)
OKLaboklab(40.82% 0.0405 -0.1919)
OKLCHoklch(40.82% 0.196 281.9)
XYZxyz(10.6773, 5.7994, 40.5929)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4229AE #95AE29
analogous
#2953AE #4229AE #8429AE
triadic
#4229AE #AE4229 #29AE42
tetradic
#4229AE #AE2953 #95AE29 #29AE84
square
#4229AE #AE2953 #95AE29 #29AE84
split-complementary
#4229AE #AE8429 #53AE29
monochromatic
#1C124B #2F1D7C #4229AE #5D42D2 #8773DE

Accessibility & contrast

On white

9.72
#4229AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#4229AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4229AE
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4229AE#FFFFFF#000000##FFFFFF
##4229AE1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B2
Deuteranopia (green-blind)
#003FAC
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4229ae;
/* rgb */ color: rgb(66, 41, 174);
/* oklch */ color: oklch(40.8% 0.196 281.9);
Tailwind
colors: {
  custom: {
    50: '#8466c7',
    500: '#4229ae',
    950: '#000000',
  },
}
SCSS
$custom: #4229ae;
$custom-light: #8466c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4229ae",
  "rgb": {
    "r": 66,
    "g": 41,
    "b": 174
  },
  "hsl": {
    "h": 251.278,
    "s": 61.86,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40823,
    "c": 0.19612,
    "h": 281.9
  },
  "luminance": 0.058
}

Semantic roles & 50–950 ramp

primary
#4229AE
secondary
#B5C56D
accent
#E543C6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4229AE

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

Preview Lab → · Contrast checker → · Palette generator →

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