#421A54#421A54

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

Color values

HEX#421A54
RGBrgb(66, 26, 84)
HSLhsl(281, 53%, 22%)
HSVhsv(281, 69%, 33%)
CMYKcmyk(21.4%, 69%, 0%, 67.1%)
CIE-LABlab(18.09, 30.07, -27.22)
CIE-LCHlch(18.09, 40.56, 317.85°)
OKLaboklab(30.69% 0.0731 -0.0765)
OKLCHoklch(30.69% 0.106 313.7)
XYZxyz(4.2161, 2.5373, 8.6534)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421A54 #2C541A
analogous
#251A54 #421A54 #541A49
triadic
#421A54 #54421A #1A5442
tetradic
#421A54 #54251A #2C541A #1A4954
square
#421A54 #54251A #2C541A #1A4954
split-complementary
#421A54 #49541A #1A5425
monochromatic
#120717 #1D0C25 #421A54 #672883 #8B37B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##421A54#FFFFFF#000000##FFFFFF
##421A541.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)
#032A56
Deuteranopia (green-blind)
#172D53
Tritanopia (blue-blind)
#402534
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #421a54;
/* rgb */ color: rgb(66, 26, 84);
/* oklch */ color: oklch(30.7% 0.106 313.7);
Tailwind
colors: {
  custom: {
    50: '#795984',
    500: '#421a54',
    950: '#000000',
  },
}
SCSS
$custom: #421a54;
$custom-light: #795984;
$custom-dark: #000000;
JSON
{
  "hex": "#421a54",
  "rgb": {
    "r": 66,
    "g": 26,
    "b": 84
  },
  "hsl": {
    "h": 281.379,
    "s": 52.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.30685,
    "c": 0.10584,
    "h": 313.7
  },
  "luminance": 0.02537
}

Semantic roles & 50–950 ramp

primary
#421A54
secondary
#578A40
accent
#DC4C78
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040B
muted
#7B797C

Preview Lab

Preview with #421A54

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

Preview Lab → · Contrast checker → · Palette generator →

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