#422C8A#422C8A

#422C8A is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.8% C 0.148 H 287.9°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#422C8A
RGBrgb(66, 44, 138)
HSLhsl(254, 52%, 36%)
HSVhsv(254, 68%, 54%)
CMYKcmyk(52.2%, 68.1%, 0%, 45.9%)
CIE-LABlab(26.14, 35.02, -49.09)
CIE-LCHlch(26.14, 60.30, 305.51°)
OKLaboklab(37.84% 0.0456 -0.1408)
OKLCHoklch(37.84% 0.148 287.9)
XYZxyz(7.7336, 4.7942, 24.5577)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422C8A #748A2C
analogous
#2C458A #422C8A #712C8A
triadic
#422C8A #8A422C #2C8A42
tetradic
#422C8A #8A2C45 #748A2C #2C8A71
square
#422C8A #8A2C45 #748A2C #2C8A71
split-complementary
#422C8A #8A712C #458A2C
monochromatic
#160E2D #2C1D5C #422C8A #583BB8 #7C63CD

Accessibility & contrast

On white

10.72
#422C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#422C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422C8A
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422C8A#FFFFFF#000000##FFFFFF
##422C8A1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#003B88
Tritanopia (blue-blind)
#284357
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #422c8a;
/* rgb */ color: rgb(66, 44, 138);
/* oklch */ color: oklch(37.8% 0.148 287.9);
Tailwind
colors: {
  custom: {
    50: '#7d67ad',
    500: '#422c8a',
    950: '#000000',
  },
}
SCSS
$custom: #422c8a;
$custom-light: #7d67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#422c8a",
  "rgb": {
    "r": 66,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 254.043,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37837,
    "c": 0.14799,
    "h": 287.9
  },
  "luminance": 0.04795
}

Semantic roles & 50–950 ramp

primary
#422C8A
secondary
#A0B45E
accent
#DB4DBA
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #422C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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