#422A72#422A72

#422A72 is a dark, moderate violet. Relative luminance 0.040; OKLCH L 35.5% C 0.119 H 295.0°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#422A72
RGBrgb(66, 42, 114)
HSLhsl(260, 46%, 31%)
HSVhsv(260, 63%, 45%)
CMYKcmyk(42.1%, 63.2%, 0%, 55.3%)
CIE-LABlab(23.77, 28.90, -37.79)
CIE-LCHlch(23.77, 47.57, 307.41°)
OKLaboklab(35.51% 0.0502 -0.1076)
OKLCHoklch(35.51% 0.119 295)
XYZxyz(6.1112, 4.0290, 16.3720)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422A72 #5A722A
analogous
#2A3672 #422A72 #662A72
triadic
#422A72 #72422A #2A7242
tetradic
#422A72 #722A36 #5A722A #2A7266
square
#422A72 #722A36 #5A722A #2A7266
split-complementary
#422A72 #72662A #36722A
monochromatic
#0E0919 #281A45 #422A72 #5C3A9F #7956C1

Accessibility & contrast

On white

11.63
#422A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#422A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422A72
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422A72#FFFFFF#000000##FFFFFF
##422A721.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003974
Deuteranopia (green-blind)
#053770
Tritanopia (blue-blind)
#363A49
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #422a72;
/* rgb */ color: rgb(66, 42, 114);
/* oklch */ color: oklch(35.5% 0.119 295.0);
Tailwind
colors: {
  custom: {
    50: '#7a659b',
    500: '#422a72',
    950: '#000000',
  },
}
SCSS
$custom: #422a72;
$custom-light: #7a659b;
$custom-dark: #000000;
JSON
{
  "hex": "#422a72",
  "rgb": {
    "r": 66,
    "g": 42,
    "b": 114
  },
  "hsl": {
    "h": 260,
    "s": 46.154,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35511,
    "c": 0.11872,
    "h": 295
  },
  "luminance": 0.04029
}

Semantic roles & 50–950 ramp

primary
#422A72
secondary
#89A454
accent
#D652AA
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09050E
muted
#7B7A7E

Preview Lab

Preview with #422A72

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

Preview Lab → · Contrast checker → · Palette generator →

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