#4229BC#4229BC

#4229BC is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.3% C 0.212 H 280.0°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#4229BC
RGBrgb(66, 41, 188)
HSLhsl(250, 64%, 45%)
HSVhsv(250, 78%, 74%)
CMYKcmyk(64.9%, 78.2%, 0%, 26.3%)
CIE-LABlab(30.34, 51.90, -72.49)
CIE-LCHlch(30.34, 89.15, 305.60°)
OKLaboklab(42.26% 0.0368 -0.2093)
OKLCHoklch(42.26% 0.212 280)
XYZxyz(12.1139, 6.3740, 48.1591)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4229BC #A3BC29
analogous
#295ABC #4229BC #8B29BC
triadic
#4229BC #BC4229 #29BC42
tetradic
#4229BC #BC295A #A3BC29 #29BC8B
square
#4229BC #BC295A #A3BC29 #29BC8B
split-complementary
#4229BC #BC8B29 #5ABC29
monochromatic
#1F1358 #301E8A #4229BC #634BD8 #8E7DE3

Accessibility & contrast

On white

9.23
#4229BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4229BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4229BC
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4229BC#FFFFFF#000000##FFFFFF
##4229BC1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC0
Deuteranopia (green-blind)
#0042B9
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4229bc;
/* rgb */ color: rgb(66, 41, 188);
/* oklch */ color: oklch(42.3% 0.212 280.0);
Tailwind
colors: {
  custom: {
    50: '#8767d2',
    500: '#4229bc',
    950: '#000000',
  },
}
SCSS
$custom: #4229bc;
$custom-light: #8767d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4229bc",
  "rgb": {
    "r": 66,
    "g": 41,
    "b": 188
  },
  "hsl": {
    "h": 250.204,
    "s": 64.192,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42256,
    "c": 0.21248,
    "h": 280
  },
  "luminance": 0.06375
}

Semantic roles & 50–950 ramp

primary
#4229BC
secondary
#BCCB76
accent
#E741CB
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4229BC

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

Preview Lab → · Contrast checker → · Palette generator →

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