#4226B4#4226B4

#4226B4 is a dark, highly saturated violet. Relative luminance 0.058; OKLCH L 41.1% C 0.206 H 281.4°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#4226B4
RGBrgb(66, 38, 180)
HSLhsl(252, 65%, 43%)
HSVhsv(252, 79%, 71%)
CMYKcmyk(63.3%, 78.9%, 0%, 29.4%)
CIE-LABlab(29.00, 50.98, -69.95)
CIE-LCHlch(29.00, 86.55, 306.08°)
OKLaboklab(41.08% 0.0407 -0.2018)
OKLCHoklch(41.08% 0.206 281.4)
XYZxyz(11.1755, 5.8389, 43.7093)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4226B4 #98B426
analogous
#2651B4 #4226B4 #8926B4
triadic
#4226B4 #B44226 #26B442
tetradic
#4226B4 #B42651 #98B426 #26B489
square
#4226B4 #B42651 #98B426 #26B489
split-complementary
#4226B4 #B48926 #51B426
monochromatic
#1D114F #2F1B81 #4226B4 #5E40D7 #8973E1

Accessibility & contrast

On white

9.69
#4226B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4226B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4226B4
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4226B4#FFFFFF#000000##FFFFFF
##4226B41.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B8
Deuteranopia (green-blind)
#003FB1
Tritanopia (blue-blind)
#00506D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4226b4;
/* rgb */ color: rgb(66, 38, 180);
/* oklch */ color: oklch(41.1% 0.206 281.4);
Tailwind
colors: {
  custom: {
    50: '#8565cc',
    500: '#4226b4',
    950: '#000000',
  },
}
SCSS
$custom: #4226b4;
$custom-light: #8565cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4226b4",
  "rgb": {
    "r": 66,
    "g": 38,
    "b": 180
  },
  "hsl": {
    "h": 251.831,
    "s": 65.138,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41078,
    "c": 0.20589,
    "h": 281.4
  },
  "luminance": 0.0584
}

Semantic roles & 50–950 ramp

primary
#4226B4
secondary
#B7C96D
accent
#E840C7
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #4226B4

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

Preview Lab → · Contrast checker → · Palette generator →

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