#421E71#421E71

#421E71 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.6% C 0.135 H 298.7°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#421E71
RGBrgb(66, 30, 113)
HSLhsl(266, 58%, 28%)
HSVhsv(266, 73%, 44%)
CMYKcmyk(41.6%, 73.5%, 0%, 55.7%)
CIE-LABlab(21.13, 35.57, -41.42)
CIE-LCHlch(21.13, 54.60, 310.65°)
OKLaboklab(33.58% 0.0647 -0.1182)
OKLCHoklch(33.58% 0.135 298.7)
XYZxyz(5.6909, 3.2790, 15.9527)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E71 #4D711E
analogous
#1E2371 #421E71 #6B1E71
triadic
#421E71 #71421E #1E7142
tetradic
#421E71 #711E23 #4D711E #1E716B
square
#421E71 #711E23 #4D711E #1E716B
split-complementary
#421E71 #716B1E #23711E
monochromatic
#0E0618 #261141 #421E71 #5E2BA1 #7B3ECC

Accessibility & contrast

On white

12.68
#421E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#421E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421E71
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E71#FFFFFF#000000##FFFFFF
##421E711.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003373
Deuteranopia (green-blind)
#00326F
Tritanopia (blue-blind)
#373245
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #421e71;
/* rgb */ color: rgb(66, 30, 113);
/* oklch */ color: oklch(33.6% 0.135 298.7);
Tailwind
colors: {
  custom: {
    50: '#7b5d9a',
    500: '#421e71',
    950: '#000000',
  },
}
SCSS
$custom: #421e71;
$custom-light: #7b5d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#421e71",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 113
  },
  "hsl": {
    "h": 266.024,
    "s": 58.042,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33582,
    "c": 0.13479,
    "h": 298.7
  },
  "luminance": 0.03279
}

Semantic roles & 50–950 ramp

primary
#421E71
secondary
#7CA546
accent
#E1479E
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421E71

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

Preview Lab → · Contrast checker → · Palette generator →

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