#4229A8#4229A8

#4229A8 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.2% C 0.189 H 282.9°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#4229A8
RGBrgb(66, 41, 168)
HSLhsl(252, 61%, 41%)
HSVhsv(252, 76%, 66%)
CMYKcmyk(60.7%, 75.6%, 0%, 34.1%)
CIE-LABlab(28.30, 45.91, -63.91)
CIE-LCHlch(28.30, 78.69, 305.69°)
OKLaboklab(40.22% 0.042 -0.1842)
OKLCHoklch(40.22% 0.189 282.9)
XYZxyz(10.1054, 5.5706, 37.5809)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4229A8 #8FA829
analogous
#294FA8 #4229A8 #8129A8
triadic
#4229A8 #A84229 #29A842
tetradic
#4229A8 #A8294F #8FA829 #29A881
square
#4229A8 #A8294F #8FA829 #29A881
split-complementary
#4229A8 #A88129 #4FA829
monochromatic
#1B1146 #2F1D77 #4229A8 #5B3ED0 #856FDC

Accessibility & contrast

On white

9.93
#4229A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4229A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4229A8#FFFFFF#000000##FFFFFF
##4229A81.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4229a8;
/* rgb */ color: rgb(66, 41, 168);
/* oklch */ color: oklch(40.2% 0.189 282.9);
Tailwind
colors: {
  custom: {
    50: '#8366c3',
    500: '#4229a8',
    950: '#000000',
  },
}
SCSS
$custom: #4229a8;
$custom-light: #8366c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4229a8",
  "rgb": {
    "r": 66,
    "g": 41,
    "b": 168
  },
  "hsl": {
    "h": 251.811,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40222,
    "c": 0.18898,
    "h": 282.9
  },
  "luminance": 0.05571
}

Semantic roles & 50–950 ramp

primary
#4229A8
secondary
#B1C36A
accent
#E444C4
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4229A8

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

Preview Lab → · Contrast checker → · Palette generator →

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