#421A55#421A55

#421A55 is a dark, moderate purple. Relative luminance 0.026; OKLCH L 30.8% C 0.107 H 313.1°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#421A55
RGBrgb(66, 26, 85)
HSLhsl(281, 53%, 22%)
HSVhsv(281, 69%, 33%)
CMYKcmyk(22.4%, 69.4%, 0%, 66.7%)
CIE-LABlab(18.16, 30.32, -27.78)
CIE-LCHlch(18.16, 41.12, 317.50°)
OKLaboklab(30.76% 0.0731 -0.0781)
OKLCHoklch(30.76% 0.107 313.1)
XYZxyz(4.2556, 2.5530, 8.8612)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421A55 #2D551A
analogous
#251A55 #421A55 #551A4B
triadic
#421A55 #55421A #1A5542
tetradic
#421A55 #55251A #2D551A #1A4B55
square
#421A55 #55251A #2D551A #1A4B55
split-complementary
#421A55 #4B551A #1A5525
monochromatic
#120717 #1E0C26 #421A55 #662884 #8B37B3

Accessibility & contrast

On white

13.90
#421A55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421A55
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421A55#FFFFFF#000000##FFFFFF
##421A551.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022A57
Deuteranopia (green-blind)
#162D54
Tritanopia (blue-blind)
#402535
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #421a55;
/* rgb */ color: rgb(66, 26, 85);
/* oklch */ color: oklch(30.8% 0.107 313.1);
Tailwind
colors: {
  custom: {
    50: '#795a85',
    500: '#421a55',
    950: '#000000',
  },
}
SCSS
$custom: #421a55;
$custom-light: #795a85;
$custom-dark: #000000;
JSON
{
  "hex": "#421a55",
  "rgb": {
    "r": 66,
    "g": 26,
    "b": 85
  },
  "hsl": {
    "h": 280.678,
    "s": 53.153,
    "l": 21.765
  },
  "oklch": {
    "l": 0.30758,
    "c": 0.107,
    "h": 313.1
  },
  "luminance": 0.02553
}

Semantic roles & 50–950 ramp

primary
#421A55
secondary
#588B40
accent
#DD4B7A
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040B
muted
#7B797C

Preview Lab

Preview with #421A55

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

Preview Lab → · Contrast checker → · Palette generator →

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