#4229AA#4229AA

#4229AA is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.191 H 282.5°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#4229AA
RGBrgb(66, 41, 170)
HSLhsl(252, 61%, 41%)
HSVhsv(252, 76%, 67%)
CMYKcmyk(61.2%, 75.9%, 0%, 33.3%)
CIE-LABlab(28.50, 46.51, -64.79)
CIE-LCHlch(28.50, 79.76, 305.68°)
OKLaboklab(40.42% 0.0415 -0.1868)
OKLCHoklch(40.42% 0.191 282.5)
XYZxyz(10.2931, 5.6457, 38.5697)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4229AA #91AA29
analogous
#2951AA #4229AA #8329AA
triadic
#4229AA #AA4229 #29AA42
tetradic
#4229AA #AA2951 #91AA29 #29AA83
square
#4229AA #AA2951 #91AA29 #29AA83
split-complementary
#4229AA #AA8329 #51AA29
monochromatic
#1C1147 #2F1D79 #4229AA #5C3FD1 #8671DD

Accessibility & contrast

On white

9.86
#4229AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4229AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4229AA#FFFFFF#000000##FFFFFF
##4229AA1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AE
Deuteranopia (green-blind)
#003FA8
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4229aa;
/* rgb */ color: rgb(66, 41, 170);
/* oklch */ color: oklch(40.4% 0.191 282.5);
Tailwind
colors: {
  custom: {
    50: '#8366c4',
    500: '#4229aa',
    950: '#000000',
  },
}
SCSS
$custom: #4229aa;
$custom-light: #8366c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4229aa",
  "rgb": {
    "r": 66,
    "g": 41,
    "b": 170
  },
  "hsl": {
    "h": 251.628,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40421,
    "c": 0.19137,
    "h": 282.5
  },
  "luminance": 0.05646
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4229AA

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

Preview Lab → · Contrast checker → · Palette generator →

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