#4229A9#4229A9

#4229A9 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.3% C 0.190 H 282.7°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#4229A9
RGBrgb(66, 41, 169)
HSLhsl(252, 61%, 41%)
HSVhsv(252, 76%, 66%)
CMYKcmyk(60.9%, 75.7%, 0%, 33.7%)
CIE-LABlab(28.40, 46.21, -64.35)
CIE-LCHlch(28.40, 79.22, 305.68°)
OKLaboklab(40.32% 0.0418 -0.1855)
OKLCHoklch(40.32% 0.19 282.7)
XYZxyz(10.1989, 5.6080, 38.0734)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4229A9 #90A929
analogous
#2950A9 #4229A9 #8229A9
triadic
#4229A9 #A94229 #29A942
tetradic
#4229A9 #A92950 #90A929 #29A982
square
#4229A9 #A92950 #90A929 #29A982
split-complementary
#4229A9 #A98229 #50A929
monochromatic
#1C1146 #2F1D78 #4229A9 #5B3FD0 #8570DC

Accessibility & contrast

On white

9.90
#4229A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4229A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4229A9
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4229A9#FFFFFF#000000##FFFFFF
##4229A91.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#003FA7
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4229a9;
/* rgb */ color: rgb(66, 41, 169);
/* oklch */ color: oklch(40.3% 0.190 282.7);
Tailwind
colors: {
  custom: {
    50: '#8366c4',
    500: '#4229a9',
    950: '#000000',
  },
}
SCSS
$custom: #4229a9;
$custom-light: #8366c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4229a9",
  "rgb": {
    "r": 66,
    "g": 41,
    "b": 169
  },
  "hsl": {
    "h": 251.719,
    "s": 60.952,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40321,
    "c": 0.19017,
    "h": 282.7
  },
  "luminance": 0.05609
}

Semantic roles & 50–950 ramp

primary
#4229A9
secondary
#B2C36A
accent
#E444C5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4229A9

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

Preview Lab → · Contrast checker → · Palette generator →

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