#4229B3#4229B3

#4229B3 is a dark, highly saturated violet. Relative luminance 0.060; OKLCH L 41.3% C 0.202 H 281.2°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#4229B3
RGBrgb(66, 41, 179)
HSLhsl(251, 63%, 43%)
HSVhsv(251, 77%, 70%)
CMYKcmyk(63.1%, 77.1%, 0%, 29.8%)
CIE-LABlab(29.41, 49.22, -68.68)
CIE-LCHlch(29.41, 84.50, 305.63°)
OKLaboklab(41.33% 0.0392 -0.1982)
OKLCHoklch(41.33% 0.202 281.2)
XYZxyz(11.1738, 5.9980, 43.2080)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4229B3 #9AB329
analogous
#2955B3 #4229B3 #8729B3
triadic
#4229B3 #B34229 #29B342
tetradic
#4229B3 #B32955 #9AB329 #29B387
square
#4229B3 #B32955 #9AB329 #29B387
split-complementary
#4229B3 #B38729 #55B329
monochromatic
#1D124F #301E81 #4229B3 #5F45D4 #8A77E0

Accessibility & contrast

On white

9.55
#4229B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4229B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4229B3
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4229B3#FFFFFF#000000##FFFFFF
##4229B31.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB7
Deuteranopia (green-blind)
#0040B1
Tritanopia (blue-blind)
#00516D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4229b3;
/* rgb */ color: rgb(66, 41, 179);
/* oklch */ color: oklch(41.3% 0.202 281.2);
Tailwind
colors: {
  custom: {
    50: '#8567cb',
    500: '#4229b3',
    950: '#000000',
  },
}
SCSS
$custom: #4229b3;
$custom-light: #8567cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4229b3",
  "rgb": {
    "r": 66,
    "g": 41,
    "b": 179
  },
  "hsl": {
    "h": 250.87,
    "s": 62.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4133,
    "c": 0.20201,
    "h": 281.2
  },
  "luminance": 0.05999
}

Semantic roles & 50–950 ramp

primary
#4229B3
secondary
#B8C770
accent
#E642C8
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4229B3

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

Preview Lab → · Contrast checker → · Palette generator →

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