#421A71#421A71

#421A71 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.140 H 299.5°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#421A71
RGBrgb(66, 26, 113)
HSLhsl(268, 63%, 27%)
HSVhsv(268, 77%, 44%)
CMYKcmyk(41.6%, 77%, 0%, 55.7%)
CIE-LABlab(20.40, 37.63, -42.61)
CIE-LCHlch(20.40, 56.85, 311.45°)
OKLaboklab(33.06% 0.0689 -0.1217)
OKLCHoklch(33.06% 0.14 299.5)
XYZxyz(5.5960, 3.0892, 15.9210)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421A71 #49711A
analogous
#1A1E71 #421A71 #6E1A71
triadic
#421A71 #71421A #1A7142
tetradic
#421A71 #711A1E #49711A #1A716E
square
#421A71 #711A1E #49711A #1A716E
split-complementary
#421A71 #716E1A #1E711A
monochromatic
#0F0619 #250F3F #421A71 #5F25A3 #7C35D0

Accessibility & contrast

On white

12.98
#421A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421A71
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421A71#FFFFFF#000000##FFFFFF
##421A711.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003173
Deuteranopia (green-blind)
#00306F
Tritanopia (blue-blind)
#373044
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #421a71;
/* rgb */ color: rgb(66, 26, 113);
/* oklch */ color: oklch(33.1% 0.140 299.5);
Tailwind
colors: {
  custom: {
    50: '#7b5b9b',
    500: '#421a71',
    950: '#000000',
  },
}
SCSS
$custom: #421a71;
$custom-light: #7b5b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#421a71",
  "rgb": {
    "r": 66,
    "g": 26,
    "b": 113
  },
  "hsl": {
    "h": 267.586,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.33064,
    "c": 0.13988,
    "h": 299.5
  },
  "luminance": 0.03089
}

Semantic roles & 50–950 ramp

primary
#421A71
secondary
#77A641
accent
#E6429A
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421A71

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

Preview Lab → · Contrast checker → · Palette generator →

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