#422176#422176

#422176 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.4% C 0.137 H 296.2°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#422176
RGBrgb(66, 33, 118)
HSLhsl(263, 56%, 30%)
HSVhsv(263, 72%, 46%)
CMYKcmyk(44.1%, 72%, 0%, 53.7%)
CIE-LABlab(22.14, 35.36, -42.99)
CIE-LCHlch(22.14, 55.66, 309.44°)
OKLaboklab(34.44% 0.0605 -0.1229)
OKLCHoklch(34.44% 0.137 296.2)
XYZxyz(6.0598, 3.5538, 17.5027)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422176 #557621
analogous
#212B76 #422176 #6D2176
triadic
#422176 #764221 #217642
tetradic
#422176 #76212B #557621 #21766D
square
#422176 #76212B #557621 #21766D
split-complementary
#422176 #766D21 #2B7621
monochromatic
#0D0718 #271446 #422176 #5D2EA6 #7A46CB

Accessibility & contrast

On white

12.27
#422176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#422176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422176
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422176#FFFFFF#000000##FFFFFF
##4221761.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003579
Deuteranopia (green-blind)
#003474
Tritanopia (blue-blind)
#343649
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #422176;
/* rgb */ color: rgb(66, 33, 118);
/* oklch */ color: oklch(34.4% 0.137 296.2);
Tailwind
colors: {
  custom: {
    50: '#7b5f9e',
    500: '#422176',
    950: '#000000',
  },
}
SCSS
$custom: #422176;
$custom-light: #7b5f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#422176",
  "rgb": {
    "r": 66,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 263.294,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34435,
    "c": 0.13695,
    "h": 296.2
  },
  "luminance": 0.03554
}

Semantic roles & 50–950 ramp

primary
#422176
secondary
#84A94A
accent
#E048A5
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #422176

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

Preview Lab → · Contrast checker → · Palette generator →

#422176 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva