#422772#422772

#422772 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.0% C 0.123 H 296.0°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#422772
RGBrgb(66, 39, 114)
HSLhsl(262, 49%, 30%)
HSVhsv(262, 66%, 45%)
CMYKcmyk(42.1%, 65.8%, 0%, 55.3%)
CIE-LABlab(23.08, 30.73, -38.90)
CIE-LCHlch(23.08, 49.57, 308.31°)
OKLaboklab(35.01% 0.054 -0.1108)
OKLCHoklch(35.01% 0.123 296)
XYZxyz(6.0088, 3.8241, 16.3379)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422772 #577227
analogous
#273172 #422772 #682772
triadic
#422772 #724227 #277242
tetradic
#422772 #722731 #577227 #277268
square
#422772 #722731 #577227 #277268
split-complementary
#422772 #726827 #317227
monochromatic
#0D0817 #281744 #422772 #5C37A0 #7A50C3

Accessibility & contrast

On white

11.90
#422772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#422772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422772
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422772#FFFFFF#000000##FFFFFF
##4227721.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003874
Deuteranopia (green-blind)
#003670
Tritanopia (blue-blind)
#363848
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #422772;
/* rgb */ color: rgb(66, 39, 114);
/* oklch */ color: oklch(35.0% 0.123 296.0);
Tailwind
colors: {
  custom: {
    50: '#7a639b',
    500: '#422772',
    950: '#000000',
  },
}
SCSS
$custom: #422772;
$custom-light: #7a639b;
$custom-dark: #000000;
JSON
{
  "hex": "#422772",
  "rgb": {
    "r": 66,
    "g": 39,
    "b": 114
  },
  "hsl": {
    "h": 261.6,
    "s": 49.02,
    "l": 30
  },
  "oklch": {
    "l": 0.35012,
    "c": 0.1233,
    "h": 296
  },
  "luminance": 0.03824
}

Semantic roles & 50–950 ramp

primary
#422772
secondary
#86A450
accent
#D94FA7
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #422772

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

Preview Lab → · Contrast checker → · Palette generator →

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