#422C78#422C78

#422C78 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.3% C 0.124 H 292.5°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#422C78
RGBrgb(66, 44, 120)
HSLhsl(257, 46%, 32%)
HSVhsv(257, 63%, 47%)
CMYKcmyk(45%, 63.3%, 0%, 52.9%)
CIE-LABlab(24.69, 29.47, -40.13)
CIE-LCHlch(24.69, 49.79, 306.30°)
OKLaboklab(36.33% 0.0474 -0.1145)
OKLCHoklch(36.33% 0.124 292.5)
XYZxyz(6.5367, 4.3155, 18.2542)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422C78 #62782C
analogous
#2C3C78 #422C78 #682C78
triadic
#422C78 #78422C #2C7842
tetradic
#422C78 #782C3C #62782C #2C7868
square
#422C78 #782C3C #62782C #2C7868
split-complementary
#422C78 #78682C #3C782C
monochromatic
#110B1E #291C4B #422C78 #5B3CA5 #795BC3

Accessibility & contrast

On white

11.27
#422C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#422C78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422C78
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422C78#FFFFFF#000000##FFFFFF
##422C781.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7A
Deuteranopia (green-blind)
#003976
Tritanopia (blue-blind)
#333D4D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #422c78;
/* rgb */ color: rgb(66, 44, 120);
/* oklch */ color: oklch(36.3% 0.124 292.5);
Tailwind
colors: {
  custom: {
    50: '#7b66a0',
    500: '#422c78',
    950: '#000000',
  },
}
SCSS
$custom: #422c78;
$custom-light: #7b66a0;
$custom-dark: #000000;
JSON
{
  "hex": "#422c78",
  "rgb": {
    "r": 66,
    "g": 44,
    "b": 120
  },
  "hsl": {
    "h": 257.368,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36327,
    "c": 0.12388,
    "h": 292.5
  },
  "luminance": 0.04316
}

Semantic roles & 50–950 ramp

primary
#422C78
secondary
#91A957
accent
#D652B0
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A060F
muted
#7C7A7E

Preview Lab

Preview with #422C78

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

Preview Lab → · Contrast checker → · Palette generator →

#422C78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva