#421C4E#421C4E

#421C4E is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.6% C 0.095 H 317.4°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#421C4E
RGBrgb(66, 28, 78)
HSLhsl(286, 47%, 21%)
HSVhsv(286, 64%, 31%)
CMYKcmyk(15.4%, 64.1%, 0%, 69.4%)
CIE-LABlab(18.09, 27.50, -23.14)
CIE-LCHlch(18.09, 35.94, 319.91°)
OKLaboklab(30.56% 0.0702 -0.0646)
OKLCHoklch(30.56% 0.095 317.4)
XYZxyz(4.0370, 2.5390, 7.4837)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C4E #284E1C
analogous
#291C4E #421C4E #4E1C41
triadic
#421C4E #4E421C #1C4E42
tetradic
#421C4E #4E291C #284E1C #1C414E
square
#421C4E #4E291C #284E1C #1C414E
split-complementary
#421C4E #414E1C #1C4E29
monochromatic
#130817 #1C0C21 #421C4E #682C7B #8E3CA8

Accessibility & contrast

On white

13.93
#421C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#421C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421C4E
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421C4E#FFFFFF#000000##FFFFFF
##421C4E1.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2A50
Deuteranopia (green-blind)
#1E2D4D
Tritanopia (blue-blind)
#422432
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #421c4e;
/* rgb */ color: rgb(66, 28, 78);
/* oklch */ color: oklch(30.6% 0.095 317.4);
Tailwind
colors: {
  custom: {
    50: '#785a80',
    500: '#421c4e',
    950: '#000000',
  },
}
SCSS
$custom: #421c4e;
$custom-light: #785a80;
$custom-dark: #000000;
JSON
{
  "hex": "#421c4e",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 78
  },
  "hsl": {
    "h": 285.6,
    "s": 47.17,
    "l": 20.784
  },
  "oklch": {
    "l": 0.3056,
    "c": 0.09538,
    "h": 317.4
  },
  "luminance": 0.02539
}

Semantic roles & 50–950 ramp

primary
#421C4E
secondary
#528442
accent
#D75171
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09040A
muted
#7B797C

Preview Lab

Preview with #421C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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