#422252#422252

#422252 is a dark, moderate purple. Relative luminance 0.029; OKLCH L 31.8% C 0.089 H 313.2°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#422252
RGBrgb(66, 34, 82)
HSLhsl(280, 41%, 23%)
HSVhsv(280, 59%, 32%)
CMYKcmyk(19.5%, 58.5%, 0%, 67.8%)
CIE-LABlab(19.69, 24.91, -23.32)
CIE-LCHlch(19.69, 34.13, 316.89°)
OKLaboklab(31.81% 0.0612 -0.0652)
OKLCHoklch(31.81% 0.089 313.2)
XYZxyz(4.3415, 2.9116, 8.3143)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422252 #325222
analogous
#2A2252 #422252 #52224A
triadic
#422252 #524222 #225242
tetradic
#422252 #522A22 #325222 #224A52
square
#422252 #522A22 #325222 #224A52
split-complementary
#422252 #4A5222 #22522A
monochromatic
#110916 #1F1027 #422252 #65347D #8846A9

Accessibility & contrast

On white

13.27
#422252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#422252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422252
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422252#FFFFFF#000000##FFFFFF
##4222521.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162E54
Deuteranopia (green-blind)
#203051
Tritanopia (blue-blind)
#412A36
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #422252;
/* rgb */ color: rgb(66, 34, 82);
/* oklch */ color: oklch(31.8% 0.089 313.2);
Tailwind
colors: {
  custom: {
    50: '#785e83',
    500: '#422252',
    950: '#000000',
  },
}
SCSS
$custom: #422252;
$custom-light: #785e83;
$custom-dark: #000000;
JSON
{
  "hex": "#422252",
  "rgb": {
    "r": 66,
    "g": 34,
    "b": 82
  },
  "hsl": {
    "h": 280,
    "s": 41.379,
    "l": 22.745
  },
  "oklch": {
    "l": 0.3181,
    "c": 0.08939,
    "h": 313.2
  },
  "luminance": 0.02912
}

Semantic roles & 50–950 ramp

primary
#422252
secondary
#5E864A
accent
#D1577F
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040A
muted
#7B797C

Preview Lab

Preview with #422252

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

Preview Lab → · Contrast checker → · Palette generator →

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