#4229B8#4229B8

#4229B8 is a dark, highly saturated violet. Relative luminance 0.062; OKLCH L 41.8% C 0.208 H 280.5°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#4229B8
RGBrgb(66, 41, 184)
HSLhsl(250, 64%, 44%)
HSVhsv(250, 78%, 72%)
CMYKcmyk(64.1%, 77.7%, 0%, 27.8%)
CIE-LABlab(29.92, 50.71, -70.81)
CIE-LCHlch(29.92, 87.09, 305.61°)
OKLaboklab(41.84% 0.0379 -0.2044)
OKLCHoklch(41.84% 0.208 280.5)
XYZxyz(11.6887, 6.2039, 45.9196)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4229B8 #9FB829
analogous
#2957B8 #4229B8 #8A29B8
triadic
#4229B8 #B84229 #29B842
tetradic
#4229B8 #B82957 #9FB829 #29B88A
square
#4229B8 #B82957 #9FB829 #29B88A
split-complementary
#4229B8 #B88A29 #57B829
monochromatic
#1E1354 #301E86 #4229B8 #6148D6 #8C7AE1

Accessibility & contrast

On white

9.37
#4229B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4229B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4229B8
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4229B8#FFFFFF#000000##FFFFFF
##4229B81.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBC
Deuteranopia (green-blind)
#0041B5
Tritanopia (blue-blind)
#005370
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4229b8;
/* rgb */ color: rgb(66, 41, 184);
/* oklch */ color: oklch(41.8% 0.208 280.5);
Tailwind
colors: {
  custom: {
    50: '#8667cf',
    500: '#4229b8',
    950: '#000000',
  },
}
SCSS
$custom: #4229b8;
$custom-light: #8667cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4229b8",
  "rgb": {
    "r": 66,
    "g": 41,
    "b": 184
  },
  "hsl": {
    "h": 250.49,
    "s": 63.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41842,
    "c": 0.20785,
    "h": 280.5
  },
  "luminance": 0.06205
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4229B8

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

Preview Lab → · Contrast checker → · Palette generator →

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