#422C8E#422C8E

#422C8E is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.2% C 0.153 H 287.1°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#422C8E
RGBrgb(66, 44, 142)
HSLhsl(253, 53%, 36%)
HSVhsv(253, 69%, 56%)
CMYKcmyk(53.5%, 69%, 0%, 44.3%)
CIE-LABlab(26.48, 36.27, -51.01)
CIE-LCHlch(26.48, 62.59, 305.41°)
OKLaboklab(38.19% 0.045 -0.1465)
OKLCHoklch(38.19% 0.153 287.1)
XYZxyz(8.0285, 4.9122, 26.1111)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422C8E #788E2C
analogous
#2C478E #422C8E #732C8E
triadic
#422C8E #8E422C #2C8E42
tetradic
#422C8E #8E2C47 #788E2C #2C8E73
square
#422C8E #8E2C47 #788E2C #2C8E73
split-complementary
#422C8E #8E732C #478E2C
monochromatic
#170F31 #2C1E5F #422C8E #583ABD #7D65CF

Accessibility & contrast

On white

10.59
#422C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#422C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422C8E
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422C8E#FFFFFF#000000##FFFFFF
##422C8E1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#254559
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #422c8e;
/* rgb */ color: rgb(66, 44, 142);
/* oklch */ color: oklch(38.2% 0.153 287.1);
Tailwind
colors: {
  custom: {
    50: '#7e67b0',
    500: '#422c8e',
    950: '#000000',
  },
}
SCSS
$custom: #422c8e;
$custom-light: #7e67b0;
$custom-dark: #000000;
JSON
{
  "hex": "#422c8e",
  "rgb": {
    "r": 66,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 253.469,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.3819,
    "c": 0.15321,
    "h": 287.1
  },
  "luminance": 0.04913
}

Semantic roles & 50–950 ramp

primary
#422C8E
secondary
#A2B660
accent
#DC4CBC
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #422C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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