#421E52#421E52

#421E52 is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.1% C 0.097 H 314.2°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#421E52
RGBrgb(66, 30, 82)
HSLhsl(282, 46%, 22%)
HSVhsv(282, 63%, 32%)
CMYKcmyk(19.5%, 63.4%, 0%, 67.8%)
CIE-LABlab(18.78, 27.31, -24.76)
CIE-LCHlch(18.78, 36.86, 317.81°)
OKLaboklab(31.15% 0.0673 -0.0693)
OKLCHoklch(31.15% 0.097 314.2)
XYZxyz(4.2338, 2.6961, 8.2784)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E52 #2E521E
analogous
#281E52 #421E52 #521E48
triadic
#421E52 #52421E #1E5242
tetradic
#421E52 #52281E #2E521E #1E4852
square
#421E52 #52281E #2E521E #1E4852
split-complementary
#421E52 #48521E #1E5228
monochromatic
#120816 #1E0E25 #421E52 #662E7F #8A3FAC

Accessibility & contrast

On white

13.64
#421E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#421E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421E52
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E52#FFFFFF#000000##FFFFFF
##421E521.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2C54
Deuteranopia (green-blind)
#1D2F51
Tritanopia (blue-blind)
#412734
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #421e52;
/* rgb */ color: rgb(66, 30, 82);
/* oklch */ color: oklch(31.1% 0.097 314.2);
Tailwind
colors: {
  custom: {
    50: '#785c83',
    500: '#421e52',
    950: '#000000',
  },
}
SCSS
$custom: #421e52;
$custom-light: #785c83;
$custom-dark: #000000;
JSON
{
  "hex": "#421e52",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 82
  },
  "hsl": {
    "h": 281.538,
    "s": 46.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31147,
    "c": 0.09666,
    "h": 314.2
  },
  "luminance": 0.02696
}

Semantic roles & 50–950 ramp

primary
#421E52
secondary
#598745
accent
#D6527A
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040A
muted
#7B797C

Preview Lab

Preview with #421E52

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

Preview Lab → · Contrast checker → · Palette generator →

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