#4226B9#4226B9

#4226B9 is a dark, highly saturated violet. Relative luminance 0.060; OKLCH L 41.6% C 0.212 H 280.7°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#4226B9
RGBrgb(66, 38, 185)
HSLhsl(251, 66%, 44%)
HSVhsv(251, 79%, 73%)
CMYKcmyk(64.3%, 79.5%, 0%, 27.5%)
CIE-LABlab(29.53, 52.44, -72.05)
CIE-LCHlch(29.53, 89.11, 306.05°)
OKLaboklab(41.6% 0.0392 -0.2079)
OKLCHoklch(41.6% 0.212 280.7)
XYZxyz(11.6941, 6.0464, 46.4404)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4226B9 #9DB926
analogous
#2653B9 #4226B9 #8B26B9
triadic
#4226B9 #B94226 #26B942
tetradic
#4226B9 #B92653 #9DB926 #26B98B
square
#4226B9 #B92653 #9DB926 #26B98B
split-complementary
#4226B9 #B98B26 #53B926
monochromatic
#1E1153 #301C86 #4226B9 #6044D9 #8B76E3

Accessibility & contrast

On white

9.50
#4226B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4226B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4226B9
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4226B9#FFFFFF#000000##FFFFFF
##4226B91.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBD
Deuteranopia (green-blind)
#0040B6
Tritanopia (blue-blind)
#005270
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4226b9;
/* rgb */ color: rgb(66, 38, 185);
/* oklch */ color: oklch(41.6% 0.212 280.7);
Tailwind
colors: {
  custom: {
    50: '#8665cf',
    500: '#4226b9',
    950: '#000000',
  },
}
SCSS
$custom: #4226b9;
$custom-light: #8665cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4226b9",
  "rgb": {
    "r": 66,
    "g": 38,
    "b": 185
  },
  "hsl": {
    "h": 251.429,
    "s": 65.919,
    "l": 43.725
  },
  "oklch": {
    "l": 0.416,
    "c": 0.21162,
    "h": 280.7
  },
  "luminance": 0.06047
}

Semantic roles & 50–950 ramp

primary
#4226B9
secondary
#B9CA70
accent
#E93FC8
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4226B9

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

Preview Lab → · Contrast checker → · Palette generator →

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