#422076#422076

#422076 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.3% C 0.138 H 296.4°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#422076
RGBrgb(66, 32, 118)
HSLhsl(264, 57%, 29%)
HSVhsv(264, 73%, 46%)
CMYKcmyk(44.1%, 72.9%, 0%, 53.7%)
CIE-LABlab(21.94, 35.90, -43.31)
CIE-LCHlch(21.94, 56.26, 309.66°)
OKLaboklab(34.29% 0.0616 -0.1238)
OKLCHoklch(34.29% 0.138 296.4)
XYZxyz(6.0324, 3.4992, 17.4936)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422076 #547620
analogous
#202976 #422076 #6D2076
triadic
#422076 #764220 #207642
tetradic
#422076 #762029 #547620 #20766D
square
#422076 #762029 #547620 #20766D
split-complementary
#422076 #766D20 #297620
monochromatic
#0D0718 #271346 #422076 #5D2DA6 #7A44CC

Accessibility & contrast

On white

12.35
#422076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#422076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422076
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422076#FFFFFF#000000##FFFFFF
##4220761.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #422076;
/* rgb */ color: rgb(66, 32, 118);
/* oklch */ color: oklch(34.3% 0.138 296.4);
Tailwind
colors: {
  custom: {
    50: '#7c5e9e',
    500: '#422076',
    950: '#000000',
  },
}
SCSS
$custom: #422076;
$custom-light: #7c5e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#422076",
  "rgb": {
    "r": 66,
    "g": 32,
    "b": 118
  },
  "hsl": {
    "h": 263.721,
    "s": 57.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34295,
    "c": 0.13828,
    "h": 296.4
  },
  "luminance": 0.03499
}

Semantic roles & 50–950 ramp

primary
#422076
secondary
#83A948
accent
#E147A4
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #422076

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

Preview Lab → · Contrast checker → · Palette generator →

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