#4229B7#4229B7

#4229B7 is a dark, highly saturated violet. Relative luminance 0.062; OKLCH L 41.7% C 0.207 H 280.6°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#4229B7
RGBrgb(66, 41, 183)
HSLhsl(251, 63%, 44%)
HSVhsv(251, 78%, 72%)
CMYKcmyk(63.9%, 77.6%, 0%, 28.2%)
CIE-LABlab(29.82, 50.41, -70.39)
CIE-LCHlch(29.82, 86.58, 305.61°)
OKLaboklab(41.74% 0.0381 -0.2031)
OKLCHoklch(41.74% 0.207 280.6)
XYZxyz(11.5842, 6.1621, 45.3695)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4229B7 #9EB729
analogous
#2957B7 #4229B7 #8929B7
triadic
#4229B7 #B74229 #29B742
tetradic
#4229B7 #B72957 #9EB729 #29B789
square
#4229B7 #B72957 #9EB729 #29B789
split-complementary
#4229B7 #B78929 #57B729
monochromatic
#1E1353 #301E85 #4229B7 #6047D6 #8C79E1

Accessibility & contrast

On white

9.41
#4229B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4229B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4229B7#FFFFFF#000000##FFFFFF
##4229B71.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBB
Deuteranopia (green-blind)
#0041B4
Tritanopia (blue-blind)
#00536F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4229b7;
/* rgb */ color: rgb(66, 41, 183);
/* oklch */ color: oklch(41.7% 0.207 280.6);
Tailwind
colors: {
  custom: {
    50: '#8667ce',
    500: '#4229b7',
    950: '#000000',
  },
}
SCSS
$custom: #4229b7;
$custom-light: #8667ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4229b7",
  "rgb": {
    "r": 66,
    "g": 41,
    "b": 183
  },
  "hsl": {
    "h": 250.563,
    "s": 63.393,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41739,
    "c": 0.20669,
    "h": 280.6
  },
  "luminance": 0.06163
}

Semantic roles & 50–950 ramp

primary
#4229B7
secondary
#BAC973
accent
#E641C9
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0614
muted
#7D7A82

Preview Lab

Preview with #4229B7

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

Preview Lab → · Contrast checker → · Palette generator →

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