#421571#421571

#421571 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.146 H 300.4°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#421571
RGBrgb(66, 21, 113)
HSLhsl(269, 69%, 26%)
HSVhsv(269, 81%, 44%)
CMYKcmyk(41.6%, 81.4%, 0%, 55.7%)
CIE-LABlab(19.58, 39.95, -43.94)
CIE-LCHlch(19.58, 59.39, 312.28°)
OKLaboklab(32.49% 0.0737 -0.1256)
OKLCHoklch(32.49% 0.146 300.4)
XYZxyz(5.4948, 2.8868, 15.8873)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421571 #447115
analogous
#151671 #421571 #701571
triadic
#421571 #714215 #157142
tetradic
#421571 #711516 #447115 #157170
square
#421571 #711516 #447115 #157170
split-complementary
#421571 #717015 #167115
monochromatic
#0F051A #240B3D #421571 #601FA5 #7E29D7

Accessibility & contrast

On white

13.31
#421571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#421571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421571
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421571#FFFFFF#000000##FFFFFF
##4215711.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F74
Deuteranopia (green-blind)
#002F6F
Tritanopia (blue-blind)
#372E43
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #421571;
/* rgb */ color: rgb(66, 21, 113);
/* oklch */ color: oklch(32.5% 0.146 300.4);
Tailwind
colors: {
  custom: {
    50: '#7c589b',
    500: '#421571',
    950: '#000000',
  },
}
SCSS
$custom: #421571;
$custom-light: #7c589b;
$custom-dark: #000000;
JSON
{
  "hex": "#421571",
  "rgb": {
    "r": 66,
    "g": 21,
    "b": 113
  },
  "hsl": {
    "h": 269.348,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32493,
    "c": 0.14559,
    "h": 300.4
  },
  "luminance": 0.02887
}

Semantic roles & 50–950 ramp

primary
#421571
secondary
#72A73B
accent
#EB3C96
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421571

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

Preview Lab → · Contrast checker → · Palette generator →

#421571 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva