#4229B9#4229B9

#4229B9 is a dark, highly saturated violet. Relative luminance 0.062; OKLCH L 41.9% C 0.209 H 280.4°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#4229B9
RGBrgb(66, 41, 185)
HSLhsl(250, 64%, 44%)
HSVhsv(250, 78%, 73%)
CMYKcmyk(64.3%, 77.8%, 0%, 27.5%)
CIE-LABlab(30.02, 51.01, -71.23)
CIE-LCHlch(30.02, 87.61, 305.61°)
OKLaboklab(41.95% 0.0376 -0.2056)
OKLCHoklch(41.95% 0.209 280.4)
XYZxyz(11.7939, 6.2460, 46.4736)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4229B9 #A0B929
analogous
#2958B9 #4229B9 #8A29B9
triadic
#4229B9 #B94229 #29B942
tetradic
#4229B9 #B92958 #A0B929 #29B98A
square
#4229B9 #B92958 #A0B929 #29B98A
split-complementary
#4229B9 #B98A29 #58B929
monochromatic
#1E1355 #301E87 #4229B9 #6149D7 #8D7BE2

Accessibility & contrast

On white

9.34
#4229B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4229B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4229B9#FFFFFF#000000##FFFFFF
##4229B91.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBD
Deuteranopia (green-blind)
#0041B6
Tritanopia (blue-blind)
#005470
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4229b9;
/* rgb */ color: rgb(66, 41, 185);
/* oklch */ color: oklch(41.9% 0.209 280.4);
Tailwind
colors: {
  custom: {
    50: '#8667cf',
    500: '#4229b9',
    950: '#000000',
  },
}
SCSS
$custom: #4229b9;
$custom-light: #8667cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4229b9",
  "rgb": {
    "r": 66,
    "g": 41,
    "b": 185
  },
  "hsl": {
    "h": 250.417,
    "s": 63.717,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41945,
    "c": 0.20901,
    "h": 280.4
  },
  "luminance": 0.06247
}

Semantic roles & 50–950 ramp

primary
#4229B9
secondary
#BBCA74
accent
#E741CA
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0614
muted
#7D7A82

Preview Lab

Preview with #4229B9

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

Preview Lab → · Contrast checker → · Palette generator →

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