#421A72#421A72

#421A72 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.141 H 299.1°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#421A72
RGBrgb(66, 26, 114)
HSLhsl(267, 63%, 27%)
HSVhsv(267, 77%, 45%)
CMYKcmyk(42.1%, 77.2%, 0%, 55.3%)
CIE-LABlab(20.49, 37.90, -43.11)
CIE-LCHlch(20.49, 57.40, 311.32°)
OKLaboklab(33.16% 0.0687 -0.1232)
OKLCHoklch(33.16% 0.141 299.1)
XYZxyz(5.6527, 3.1119, 16.2192)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421A72 #4A721A
analogous
#1A1E72 #421A72 #6E1A72
triadic
#421A72 #72421A #1A7242
tetradic
#421A72 #721A1E #4A721A #1A726E
square
#421A72 #721A1E #4A721A #1A726E
split-complementary
#421A72 #726E1A #1E721A
monochromatic
#0E0619 #250F40 #421A72 #5F25A4 #7C35D1

Accessibility & contrast

On white

12.94
#421A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#421A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421A72
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421A72#FFFFFF#000000##FFFFFF
##421A721.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003175
Deuteranopia (green-blind)
#003170
Tritanopia (blue-blind)
#363144
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #421a72;
/* rgb */ color: rgb(66, 26, 114);
/* oklch */ color: oklch(33.2% 0.141 299.1);
Tailwind
colors: {
  custom: {
    50: '#7b5b9b',
    500: '#421a72',
    950: '#000000',
  },
}
SCSS
$custom: #421a72;
$custom-light: #7b5b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#421a72",
  "rgb": {
    "r": 66,
    "g": 26,
    "b": 114
  },
  "hsl": {
    "h": 267.273,
    "s": 62.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.33155,
    "c": 0.14104,
    "h": 299.1
  },
  "luminance": 0.03112
}

Semantic roles & 50–950 ramp

primary
#421A72
secondary
#79A741
accent
#E6429B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421A72

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

Preview Lab → · Contrast checker → · Palette generator →

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