#421A52#421A52

#421A52 is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.5% C 0.103 H 315.0°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#421A52
RGBrgb(66, 26, 82)
HSLhsl(283, 52%, 21%)
HSVhsv(283, 68%, 32%)
CMYKcmyk(19.5%, 68.3%, 0%, 67.8%)
CIE-LABlab(17.95, 29.58, -26.09)
CIE-LCHlch(17.95, 39.44, 318.59°)
OKLaboklab(30.54% 0.0732 -0.0732)
OKLCHoklch(30.54% 0.104 315)
XYZxyz(4.1389, 2.5064, 8.2468)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421A52 #2A521A
analogous
#261A52 #421A52 #521A46
triadic
#421A52 #52421A #1A5242
tetradic
#421A52 #52261A #2A521A #1A4652
square
#421A52 #52261A #2A521A #1A4652
split-complementary
#421A52 #46521A #1A5226
monochromatic
#130717 #1D0B24 #421A52 #672980 #8D37AF

Accessibility & contrast

On white

13.99
#421A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#421A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421A52
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421A52#FFFFFF#000000##FFFFFF
##421A521.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062A54
Deuteranopia (green-blind)
#192D51
Tritanopia (blue-blind)
#412433
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #421a52;
/* rgb */ color: rgb(66, 26, 82);
/* oklch */ color: oklch(30.5% 0.103 315.0);
Tailwind
colors: {
  custom: {
    50: '#785983',
    500: '#421a52',
    950: '#000000',
  },
}
SCSS
$custom: #421a52;
$custom-light: #785983;
$custom-dark: #000000;
JSON
{
  "hex": "#421a52",
  "rgb": {
    "r": 66,
    "g": 26,
    "b": 82
  },
  "hsl": {
    "h": 282.857,
    "s": 51.852,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30539,
    "c": 0.1035,
    "h": 315
  },
  "luminance": 0.02506
}

Semantic roles & 50–950 ramp

primary
#421A52
secondary
#548840
accent
#DB4C75
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040A
muted
#7B797C

Preview Lab

Preview with #421A52

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

Preview Lab → · Contrast checker → · Palette generator →

#421A52 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva