#422151#422151

#422151 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.6% C 0.090 H 314.1°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#422151
RGBrgb(66, 33, 81)
HSLhsl(281, 42%, 22%)
HSVhsv(281, 59%, 32%)
CMYKcmyk(18.5%, 59.3%, 0%, 68.2%)
CIE-LABlab(19.39, 25.27, -23.11)
CIE-LCHlch(19.39, 34.25, 317.55°)
OKLaboklab(31.57% 0.0627 -0.0646)
OKLCHoklch(31.57% 0.09 314.1)
XYZxyz(4.2756, 2.8402, 8.1060)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422151 #305121
analogous
#2A2151 #422151 #512148
triadic
#422151 #514221 #215142
tetradic
#422151 #512A21 #305121 #214851
square
#422151 #512A21 #305121 #214851
split-complementary
#422151 #485121 #21512A
monochromatic
#120916 #1F0F26 #422151 #65337C #8944A8

Accessibility & contrast

On white

13.39
#422151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#422151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422151
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422151#FFFFFF#000000##FFFFFF
##4221511.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152D53
Deuteranopia (green-blind)
#203050
Tritanopia (blue-blind)
#412935
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #422151;
/* rgb */ color: rgb(66, 33, 81);
/* oklch */ color: oklch(31.6% 0.090 314.1);
Tailwind
colors: {
  custom: {
    50: '#785e82',
    500: '#422151',
    950: '#000000',
  },
}
SCSS
$custom: #422151;
$custom-light: #785e82;
$custom-dark: #000000;
JSON
{
  "hex": "#422151",
  "rgb": {
    "r": 66,
    "g": 33,
    "b": 81
  },
  "hsl": {
    "h": 281.25,
    "s": 42.105,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31573,
    "c": 0.08997,
    "h": 314.1
  },
  "luminance": 0.0284
}

Semantic roles & 50–950 ramp

primary
#422151
secondary
#5C8549
accent
#D2567D
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09040A
muted
#7B797C

Preview Lab

Preview with #422151

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

Preview Lab → · Contrast checker → · Palette generator →

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