#4229B0#4229B0

#4229B0 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.0% C 0.198 H 281.6°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#4229B0
RGBrgb(66, 41, 176)
HSLhsl(251, 62%, 43%)
HSVhsv(251, 77%, 69%)
CMYKcmyk(62.5%, 76.7%, 0%, 31%)
CIE-LABlab(29.10, 48.32, -67.39)
CIE-LCHlch(29.10, 82.93, 305.64°)
OKLaboklab(41.03% 0.04 -0.1944)
OKLCHoklch(41.03% 0.198 281.6)
XYZxyz(10.8737, 5.8779, 41.6274)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4229B0 #97B029
analogous
#2954B0 #4229B0 #8529B0
triadic
#4229B0 #B04229 #29B042
tetradic
#4229B0 #B02954 #97B029 #29B085
square
#4229B0 #B02954 #97B029 #29B085
split-complementary
#4229B0 #B08529 #54B029
monochromatic
#1D124D #2F1D7E #4229B0 #5E43D3 #8875DF

Accessibility & contrast

On white

9.65
#4229B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4229B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4229B0
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4229B0#FFFFFF#000000##FFFFFF
##4229B01.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B4
Deuteranopia (green-blind)
#0040AE
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4229b0;
/* rgb */ color: rgb(66, 41, 176);
/* oklch */ color: oklch(41.0% 0.198 281.6);
Tailwind
colors: {
  custom: {
    50: '#8466c9',
    500: '#4229b0',
    950: '#000000',
  },
}
SCSS
$custom: #4229b0;
$custom-light: #8466c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4229b0",
  "rgb": {
    "r": 66,
    "g": 41,
    "b": 176
  },
  "hsl": {
    "h": 251.111,
    "s": 62.212,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41025,
    "c": 0.19848,
    "h": 281.6
  },
  "luminance": 0.05879
}

Semantic roles & 50–950 ramp

primary
#4229B0
secondary
#B6C66F
accent
#E543C7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4229B0

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

Preview Lab → · Contrast checker → · Palette generator →

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