#421E40#421E40

#421E40 is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.0% C 0.076 H 329.3°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#421E40
RGBrgb(66, 30, 64)
HSLhsl(303, 38%, 19%)
HSVhsv(303, 55%, 26%)
CMYKcmyk(0%, 54.5%, 3%, 74.1%)
CIE-LABlab(17.72, 23.12, -14.10)
CIE-LCHlch(17.72, 27.08, 328.62°)
OKLaboklab(30.02% 0.065 -0.0385)
OKLCHoklch(30.02% 0.076 329.3)
XYZxyz(3.6364, 2.4572, 5.1322)
Luminance0.0246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E40 #1E4220
analogous
#321E42 #421E40 #421E2E
triadic
#421E40 #40421E #1E4042
tetradic
#421E40 #42321E #1E4220 #1E2E42
square
#421E40 #42321E #1E4220 #1E2E42
split-complementary
#421E40 #2E421E #1E4232
monochromatic
#150A14 #180B17 #421E40 #6C3169 #964492

Accessibility & contrast

On white

14.08
#421E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#421E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421E40
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E40#FFFFFF#000000##FFFFFF
##421E401.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2841
Deuteranopia (green-blind)
#262D3F
Tritanopia (blue-blind)
#44212C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #421e40;
/* rgb */ color: rgb(66, 30, 64);
/* oklch */ color: oklch(30.0% 0.076 329.3);
Tailwind
colors: {
  custom: {
    50: '#775b75',
    500: '#421e40',
    950: '#000000',
  },
}
SCSS
$custom: #421e40;
$custom-light: #775b75;
$custom-dark: #000000;
JSON
{
  "hex": "#421e40",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 64
  },
  "hsl": {
    "h": 303.333,
    "s": 37.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30023,
    "c": 0.07556,
    "h": 329.3
  },
  "luminance": 0.02457
}

Semantic roles & 50–950 ramp

primary
#421E40
secondary
#457748
accent
#CD615A
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090408
muted
#7B797B

Preview Lab

Preview with #421E40

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

Preview Lab → · Contrast checker → · Palette generator →

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