#421052#421052

#421052 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 29.3% C 0.118 H 316.5°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#421052
RGBrgb(66, 16, 82)
HSLhsl(285, 67%, 19%)
HSVhsv(285, 80%, 32%)
CMYKcmyk(19.5%, 80.5%, 0%, 67.8%)
CIE-LABlab(16.20, 34.48, -28.90)
CIE-LCHlch(16.20, 44.99, 320.04°)
OKLaboklab(29.28% 0.0857 -0.0813)
OKLCHoklch(29.28% 0.118 316.5)
XYZxyz(3.9548, 2.1382, 8.1854)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421052 #205210
analogous
#211052 #421052 #521041
triadic
#421052 #524210 #105242
tetradic
#421052 #522110 #205210 #104152
square
#421052 #522110 #205210 #104152
split-complementary
#421052 #415210 #105221
monochromatic
#15051A #19061F #421052 #6B1A85 #9424B8

Accessibility & contrast

On white

14.71
#421052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#421052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421052
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421052#FFFFFF#000000##FFFFFF
##4210521.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002554
Deuteranopia (green-blind)
#102A51
Tritanopia (blue-blind)
#411E30
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #421052;
/* rgb */ color: rgb(66, 16, 82);
/* oklch */ color: oklch(29.3% 0.118 316.5);
Tailwind
colors: {
  custom: {
    50: '#795483',
    500: '#421052',
    950: '#000000',
  },
}
SCSS
$custom: #421052;
$custom-light: #795483;
$custom-dark: #000000;
JSON
{
  "hex": "#421052",
  "rgb": {
    "r": 66,
    "g": 16,
    "b": 82
  },
  "hsl": {
    "h": 285.455,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29284,
    "c": 0.11818,
    "h": 316.5
  },
  "luminance": 0.02138
}

Semantic roles & 50–950 ramp

primary
#421052
secondary
#488C32
accent
#EA3E67
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#09030A
muted
#7B787C

Preview Lab

Preview with #421052

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

Preview Lab → · Contrast checker → · Palette generator →

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