#421B45#421B45

#421B45 is a dark, moderate purple. Relative luminance 0.024; OKLCH L 29.8% C 0.087 H 324.7°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#421B45
RGBrgb(66, 27, 69)
HSLhsl(296, 44%, 19%)
HSVhsv(296, 61%, 27%)
CMYKcmyk(4.3%, 60.9%, 0%, 72.9%)
CIE-LABlab(17.33, 25.99, -18.18)
CIE-LCHlch(17.33, 31.72, 325.03°)
OKLaboklab(29.82% 0.0709 -0.0502)
OKLCHoklch(29.82% 0.087 324.7)
XYZxyz(3.7128, 2.3720, 5.8913)
Luminance0.0237 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421B45 #1E451B
analogous
#2D1B45 #421B45 #451B33
triadic
#421B45 #45421B #1B4542
tetradic
#421B45 #452D1B #1E451B #1B3345
square
#421B45 #452D1B #1E451B #1B3345
split-complementary
#421B45 #33451B #1B452D
monochromatic
#150916 #180A19 #421B45 #6C2C71 #963D9D

Accessibility & contrast

On white

14.24
#421B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#421B45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421B45
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421B45#FFFFFF#000000##FFFFFF
##421B451.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152846
Deuteranopia (green-blind)
#222C44
Tritanopia (blue-blind)
#43202D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #421b45;
/* rgb */ color: rgb(66, 27, 69);
/* oklch */ color: oklch(29.8% 0.087 324.7);
Tailwind
colors: {
  custom: {
    50: '#785a79',
    500: '#421b45',
    950: '#000000',
  },
}
SCSS
$custom: #421b45;
$custom-light: #785a79;
$custom-dark: #000000;
JSON
{
  "hex": "#421b45",
  "rgb": {
    "r": 66,
    "g": 27,
    "b": 69
  },
  "hsl": {
    "h": 295.714,
    "s": 43.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29822,
    "c": 0.08686,
    "h": 324.7
  },
  "luminance": 0.02372
}

Semantic roles & 50–950 ramp

primary
#421B45
secondary
#457B41
accent
#D3545D
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090409
muted
#7B797B

Preview Lab

Preview with #421B45

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

Preview Lab → · Contrast checker → · Palette generator →

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