#421A6A#421A6A

#421A6A is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.4% C 0.132 H 302.3°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#421A6A
RGBrgb(66, 26, 106)
HSLhsl(270, 61%, 26%)
HSVhsv(270, 75%, 42%)
CMYKcmyk(37.7%, 75.5%, 0%, 58.4%)
CIE-LABlab(19.79, 35.74, -39.05)
CIE-LCHlch(19.79, 52.94, 312.47°)
OKLaboklab(32.45% 0.0705 -0.1113)
OKLCHoklch(32.45% 0.132 302.3)
XYZxyz(5.2171, 2.9376, 13.9250)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421A6A #426A1A
analogous
#1A1A6A #421A6A #6A1A6A
triadic
#421A6A #6A421A #1A6A42
tetradic
#421A6A #6A1A1A #426A1A #1A6A6A
square
#421A6A #6A1A1A #426A1A #1A6A6A
split-complementary
#421A6A #6A6A1A #1A6A1A
monochromatic
#0F0619 #230E39 #421A6A #61269B #7F32CC

Accessibility & contrast

On white

13.23
#421A6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#421A6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421A6A
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421A6A#FFFFFF#000000##FFFFFF
##421A6A1.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6C
Deuteranopia (green-blind)
#003068
Tritanopia (blue-blind)
#3A2D40
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #421a6a;
/* rgb */ color: rgb(66, 26, 106);
/* oklch */ color: oklch(32.4% 0.132 302.3);
Tailwind
colors: {
  custom: {
    50: '#7b5a95',
    500: '#421a6a',
    950: '#000000',
  },
}
SCSS
$custom: #421a6a;
$custom-light: #7b5a95;
$custom-dark: #000000;
JSON
{
  "hex": "#421a6a",
  "rgb": {
    "r": 66,
    "g": 26,
    "b": 106
  },
  "hsl": {
    "h": 270,
    "s": 60.606,
    "l": 25.882
  },
  "oklch": {
    "l": 0.32447,
    "c": 0.1317,
    "h": 302.3
  },
  "luminance": 0.02938
}

Semantic roles & 50–950 ramp

primary
#421A6A
secondary
#709F40
accent
#E44494
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #421A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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