#422272#422272

#422272 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.2% C 0.131 H 297.4°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#422272
RGBrgb(66, 34, 114)
HSLhsl(264, 54%, 29%)
HSVhsv(264, 70%, 45%)
CMYKcmyk(42.1%, 70.2%, 0%, 55.3%)
CIE-LABlab(22.01, 33.65, -40.64)
CIE-LCHlch(22.01, 52.76, 309.63°)
OKLaboklab(34.24% 0.06 -0.116)
OKLCHoklch(34.24% 0.131 297.4)
XYZxyz(5.8553, 3.5171, 16.2867)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422272 #527222
analogous
#222A72 #422272 #6A2272
triadic
#422272 #724222 #227242
tetradic
#422272 #72222A #527222 #22726A
square
#422272 #72222A #527222 #22726A
split-complementary
#422272 #726A22 #2A7222
monochromatic
#0E0718 #271443 #422272 #5D30A1 #7A46C8

Accessibility & contrast

On white

12.33
#422272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#422272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422272
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422272#FFFFFF#000000##FFFFFF
##4222721.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003574
Deuteranopia (green-blind)
#003470
Tritanopia (blue-blind)
#363547
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #422272;
/* rgb */ color: rgb(66, 34, 114);
/* oklch */ color: oklch(34.2% 0.131 297.4);
Tailwind
colors: {
  custom: {
    50: '#7b5f9b',
    500: '#422272',
    950: '#000000',
  },
}
SCSS
$custom: #422272;
$custom-light: #7b5f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#422272",
  "rgb": {
    "r": 66,
    "g": 34,
    "b": 114
  },
  "hsl": {
    "h": 264,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34236,
    "c": 0.13057,
    "h": 297.4
  },
  "luminance": 0.03517
}

Semantic roles & 50–950 ramp

primary
#422272
secondary
#81A54B
accent
#DD4AA3
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #422272

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

Preview Lab → · Contrast checker → · Palette generator →

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