#4229B6#4229B6

#4229B6 is a dark, highly saturated violet. Relative luminance 0.061; OKLCH L 41.6% C 0.206 H 280.8°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#4229B6
RGBrgb(66, 41, 182)
HSLhsl(251, 63%, 44%)
HSVhsv(251, 77%, 71%)
CMYKcmyk(63.7%, 77.5%, 0%, 28.6%)
CIE-LABlab(29.71, 50.11, -69.96)
CIE-LCHlch(29.71, 86.06, 305.61°)
OKLaboklab(41.64% 0.0384 -0.2019)
OKLCHoklch(41.64% 0.206 280.8)
XYZxyz(11.4805, 6.1206, 44.8233)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4229B6 #9DB629
analogous
#2956B6 #4229B6 #8829B6
triadic
#4229B6 #B64229 #29B642
tetradic
#4229B6 #B62956 #9DB629 #29B688
square
#4229B6 #B62956 #9DB629 #29B688
split-complementary
#4229B6 #B68829 #56B629
monochromatic
#1E1252 #301E84 #4229B6 #6047D5 #8B79E1

Accessibility & contrast

On white

9.44
#4229B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4229B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4229B6#FFFFFF#000000##FFFFFF
##4229B61.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBA
Deuteranopia (green-blind)
#0041B3
Tritanopia (blue-blind)
#00526F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4229b6;
/* rgb */ color: rgb(66, 41, 182);
/* oklch */ color: oklch(41.6% 0.206 280.8);
Tailwind
colors: {
  custom: {
    50: '#8667cd',
    500: '#4229b6',
    950: '#000000',
  },
}
SCSS
$custom: #4229b6;
$custom-light: #8667cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4229b6",
  "rgb": {
    "r": 66,
    "g": 41,
    "b": 182
  },
  "hsl": {
    "h": 250.638,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41637,
    "c": 0.20552,
    "h": 280.8
  },
  "luminance": 0.06122
}

Semantic roles & 50–950 ramp

primary
#4229B6
secondary
#B9C972
accent
#E642C9
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0614
muted
#7D7A82

Preview Lab

Preview with #4229B6

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

Preview Lab → · Contrast checker → · Palette generator →

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