#421C52#421C52

#421C52 is a dark, moderate purple. Relative luminance 0.026; OKLCH L 30.8% C 0.100 H 314.6°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#421C52
RGBrgb(66, 28, 82)
HSLhsl(282, 49%, 22%)
HSVhsv(282, 66%, 32%)
CMYKcmyk(19.5%, 65.9%, 0%, 67.8%)
CIE-LABlab(18.36, 28.47, -25.44)
CIE-LCHlch(18.36, 38.18, 318.22°)
OKLaboklab(30.84% 0.0703 -0.0713)
OKLCHoklch(30.84% 0.1 314.6)
XYZxyz(4.1848, 2.5981, 8.2620)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C52 #2C521C
analogous
#271C52 #421C52 #521C47
triadic
#421C52 #52421C #1C5242
tetradic
#421C52 #52271C #2C521C #1C4752
square
#421C52 #52271C #2C521C #1C4752
split-complementary
#421C52 #47521C #1C5227
monochromatic
#120817 #1D0C24 #421C52 #672C80 #8B3BAD

Accessibility & contrast

On white

13.82
#421C52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#421C52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421C52
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421C52#FFFFFF#000000##FFFFFF
##421C521.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2B54
Deuteranopia (green-blind)
#1B2E51
Tritanopia (blue-blind)
#412634
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #421c52;
/* rgb */ color: rgb(66, 28, 82);
/* oklch */ color: oklch(30.8% 0.100 314.6);
Tailwind
colors: {
  custom: {
    50: '#785b83',
    500: '#421c52',
    950: '#000000',
  },
}
SCSS
$custom: #421c52;
$custom-light: #785b83;
$custom-dark: #000000;
JSON
{
  "hex": "#421c52",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 82
  },
  "hsl": {
    "h": 282.222,
    "s": 49.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.30836,
    "c": 0.10014,
    "h": 314.6
  },
  "luminance": 0.02598
}

Semantic roles & 50–950 ramp

primary
#421C52
secondary
#578842
accent
#D94F78
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040A
muted
#7B797C

Preview Lab

Preview with #421C52

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

Preview Lab → · Contrast checker → · Palette generator →

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