#422372#422372

#422372 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.4% C 0.129 H 297.1°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#422372
RGBrgb(66, 35, 114)
HSLhsl(264, 53%, 29%)
HSVhsv(264, 69%, 45%)
CMYKcmyk(42.1%, 69.3%, 0%, 55.3%)
CIE-LABlab(22.21, 33.08, -40.30)
CIE-LCHlch(22.21, 52.14, 309.38°)
OKLaboklab(34.39% 0.0588 -0.115)
OKLCHoklch(34.39% 0.129 297.1)
XYZxyz(5.8843, 3.5751, 16.2964)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422372 #537223
analogous
#232C72 #422372 #6A2372
triadic
#422372 #724223 #237242
tetradic
#422372 #72232C #537223 #23726A
square
#422372 #72232C #537223 #23726A
split-complementary
#422372 #726A23 #2C7223
monochromatic
#0E0717 #271543 #422372 #5D31A1 #7A48C7

Accessibility & contrast

On white

12.24
#422372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#422372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422372
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422372#FFFFFF#000000##FFFFFF
##4223721.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.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: #422372;
/* rgb */ color: rgb(66, 35, 114);
/* oklch */ color: oklch(34.4% 0.129 297.1);
Tailwind
colors: {
  custom: {
    50: '#7b609b',
    500: '#422372',
    950: '#000000',
  },
}
SCSS
$custom: #422372;
$custom-light: #7b609b;
$custom-dark: #000000;
JSON
{
  "hex": "#422372",
  "rgb": {
    "r": 66,
    "g": 35,
    "b": 114
  },
  "hsl": {
    "h": 263.544,
    "s": 53.02,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34385,
    "c": 0.12915,
    "h": 297.1
  },
  "luminance": 0.03575
}

Semantic roles & 50–950 ramp

primary
#422372
secondary
#82A54C
accent
#DC4BA4
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #422372

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

Preview Lab → · Contrast checker → · Palette generator →

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