#4229AD#4229AD

#4229AD is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.7% C 0.195 H 282.1°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#4229AD
RGBrgb(66, 41, 173)
HSLhsl(251, 62%, 42%)
HSVhsv(251, 76%, 68%)
CMYKcmyk(61.8%, 76.3%, 0%, 32.2%)
CIE-LABlab(28.80, 47.42, -66.10)
CIE-LCHlch(28.80, 81.35, 305.66°)
OKLaboklab(40.72% 0.0408 -0.1906)
OKLCHoklch(40.72% 0.195 282.1)
XYZxyz(10.5802, 5.7605, 40.0814)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4229AD #94AD29
analogous
#2952AD #4229AD #8429AD
triadic
#4229AD #AD4229 #29AD42
tetradic
#4229AD #AD2952 #94AD29 #29AD84
square
#4229AD #AD2952 #94AD29 #29AD84
split-complementary
#4229AD #AD8429 #52AD29
monochromatic
#1C124A #2F1D7C #4229AD #5D41D2 #8773DE

Accessibility & contrast

On white

9.76
#4229AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4229AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4229AD#FFFFFF#000000##FFFFFF
##4229AD1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B1
Deuteranopia (green-blind)
#003FAB
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4229ad;
/* rgb */ color: rgb(66, 41, 173);
/* oklch */ color: oklch(40.7% 0.195 282.1);
Tailwind
colors: {
  custom: {
    50: '#8466c7',
    500: '#4229ad',
    950: '#000000',
  },
}
SCSS
$custom: #4229ad;
$custom-light: #8466c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4229ad",
  "rgb": {
    "r": 66,
    "g": 41,
    "b": 173
  },
  "hsl": {
    "h": 251.364,
    "s": 61.682,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40722,
    "c": 0.19493,
    "h": 282.1
  },
  "luminance": 0.05761
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4229AD

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

Preview Lab → · Contrast checker → · Palette generator →

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