#422672#422672

#422672 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 34.9% C 0.125 H 296.3°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#422672
RGBrgb(66, 38, 114)
HSLhsl(262, 50%, 30%)
HSVhsv(262, 67%, 45%)
CMYKcmyk(42.1%, 66.7%, 0%, 55.3%)
CIE-LABlab(22.86, 31.33, -39.26)
CIE-LCHlch(22.86, 50.22, 308.59°)
OKLaboklab(34.85% 0.0552 -0.1119)
OKLCHoklch(34.85% 0.125 296.3)
XYZxyz(5.9764, 3.7593, 16.3271)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422672 #567226
analogous
#263072 #422672 #682672
triadic
#422672 #724226 #267242
tetradic
#422672 #722630 #567226 #267268
square
#422672 #722630 #567226 #267268
split-complementary
#422672 #726826 #307226
monochromatic
#0D0817 #271744 #422672 #5D35A0 #7A4EC4

Accessibility & contrast

On white

11.99
#422672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#422672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422672
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422672#FFFFFF#000000##FFFFFF
##4226721.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #422672;
/* rgb */ color: rgb(66, 38, 114);
/* oklch */ color: oklch(34.9% 0.125 296.3);
Tailwind
colors: {
  custom: {
    50: '#7b629b',
    500: '#422672',
    950: '#000000',
  },
}
SCSS
$custom: #422672;
$custom-light: #7b629b;
$custom-dark: #000000;
JSON
{
  "hex": "#422672",
  "rgb": {
    "r": 66,
    "g": 38,
    "b": 114
  },
  "hsl": {
    "h": 262.105,
    "s": 50,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34851,
    "c": 0.12479,
    "h": 296.3
  },
  "luminance": 0.03759
}

Semantic roles & 50–950 ramp

primary
#422672
secondary
#85A54F
accent
#DA4EA6
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #422672

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

Preview Lab → · Contrast checker → · Palette generator →

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