#422276#422276

#422276 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.6% C 0.136 H 296.0°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#422276
RGBrgb(66, 34, 118)
HSLhsl(263, 55%, 30%)
HSVhsv(263, 71%, 46%)
CMYKcmyk(44.1%, 71.2%, 0%, 53.7%)
CIE-LABlab(22.34, 34.80, -42.66)
CIE-LCHlch(22.34, 55.06, 309.20°)
OKLaboklab(34.58% 0.0594 -0.1219)
OKLCHoklch(34.58% 0.136 296)
XYZxyz(6.0879, 3.6102, 17.5121)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422276 #567622
analogous
#222C76 #422276 #6C2276
triadic
#422276 #764222 #227642
tetradic
#422276 #76222C #567622 #22766C
square
#422276 #76222C #567622 #22766C
split-complementary
#422276 #766C22 #2C7622
monochromatic
#0D0718 #271446 #422276 #5D30A6 #7A48CA

Accessibility & contrast

On white

12.20
#422276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#422276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422276
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422276#FFFFFF#000000##FFFFFF
##4222761.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #422276;
/* rgb */ color: rgb(66, 34, 118);
/* oklch */ color: oklch(34.6% 0.136 296.0);
Tailwind
colors: {
  custom: {
    50: '#7b609e',
    500: '#422276',
    950: '#000000',
  },
}
SCSS
$custom: #422276;
$custom-light: #7b609e;
$custom-dark: #000000;
JSON
{
  "hex": "#422276",
  "rgb": {
    "r": 66,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 262.857,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34578,
    "c": 0.13562,
    "h": 296
  },
  "luminance": 0.0361
}

Semantic roles & 50–950 ramp

primary
#422276
secondary
#85A94B
accent
#DF49A6
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #422276

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

Preview Lab → · Contrast checker → · Palette generator →

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