#4226B0#4226B0

#4226B0 is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 40.7% C 0.201 H 282.0°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#4226B0
RGBrgb(66, 38, 176)
HSLhsl(252, 64%, 42%)
HSVhsv(252, 78%, 69%)
CMYKcmyk(62.5%, 78.4%, 0%, 31%)
CIE-LABlab(28.59, 49.80, -68.25)
CIE-LCHlch(28.59, 84.48, 306.12°)
OKLaboklab(40.66% 0.0418 -0.1969)
OKLCHoklch(40.66% 0.201 282)
XYZxyz(10.7739, 5.6783, 41.5942)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4226B0 #94B026
analogous
#264FB0 #4226B0 #8726B0
triadic
#4226B0 #B04226 #26B042
tetradic
#4226B0 #B0264F #94B026 #26B087
square
#4226B0 #B0264F #94B026 #26B087
split-complementary
#4226B0 #B08726 #4FB026
monochromatic
#1C104B #2F1B7E #4226B0 #5D3ED5 #8770E0

Accessibility & contrast

On white

9.83
#4226B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4226B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4226B0
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4226B0#FFFFFF#000000##FFFFFF
##4226B01.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B4
Deuteranopia (green-blind)
#003EAE
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4226b0;
/* rgb */ color: rgb(66, 38, 176);
/* oklch */ color: oklch(40.7% 0.201 282.0);
Tailwind
colors: {
  custom: {
    50: '#8565c9',
    500: '#4226b0',
    950: '#000000',
  },
}
SCSS
$custom: #4226b0;
$custom-light: #8565c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4226b0",
  "rgb": {
    "r": 66,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 252.174,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40663,
    "c": 0.20126,
    "h": 282
  },
  "luminance": 0.05679
}

Semantic roles & 50–950 ramp

primary
#4226B0
secondary
#B4C76B
accent
#E740C6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4226B0

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

Preview Lab → · Contrast checker → · Palette generator →

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