#422652#422652

#422652 is a dark, moderate violet. Relative luminance 0.032; OKLCH L 32.5% C 0.082 H 312.0°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#422652
RGBrgb(66, 38, 82)
HSLhsl(278, 37%, 24%)
HSVhsv(278, 54%, 32%)
CMYKcmyk(19.5%, 53.7%, 0%, 67.8%)
CIE-LABlab(20.65, 22.41, -21.80)
CIE-LCHlch(20.65, 31.26, 315.79°)
OKLaboklab(32.52% 0.0547 -0.0608)
OKLCHoklch(32.52% 0.082 312)
XYZxyz(4.4626, 3.1538, 8.3547)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422652 #365226
analogous
#2C2652 #422652 #52264C
triadic
#422652 #524226 #265242
tetradic
#422652 #522C26 #365226 #264C52
square
#422652 #522C26 #365226 #264C52
split-complementary
#422652 #4C5226 #26522C
monochromatic
#110A15 #201328 #422652 #64397C #854DA6

Accessibility & contrast

On white

12.88
#422652 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#422652 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422652
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422652#FFFFFF#000000##FFFFFF
##4226521.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3054
Deuteranopia (green-blind)
#243251
Tritanopia (blue-blind)
#402D38
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #422652;
/* rgb */ color: rgb(66, 38, 82);
/* oklch */ color: oklch(32.5% 0.082 312.0);
Tailwind
colors: {
  custom: {
    50: '#786183',
    500: '#422652',
    950: '#000000',
  },
}
SCSS
$custom: #422652;
$custom-light: #786183;
$custom-dark: #000000;
JSON
{
  "hex": "#422652",
  "rgb": {
    "r": 66,
    "g": 38,
    "b": 82
  },
  "hsl": {
    "h": 278.182,
    "s": 36.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.32522,
    "c": 0.08178,
    "h": 312
  },
  "luminance": 0.03154
}

Semantic roles & 50–950 ramp

primary
#422652
secondary
#62854F
accent
#CD5B84
background
#F7F5F8
surface
#EDEAEF
border
#C8C6CA
text
#09050A
muted
#7B797C

Preview Lab

Preview with #422652

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

Preview Lab → · Contrast checker → · Palette generator →

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