#421E72#421E72

#421E72 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.7% C 0.136 H 298.3°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#421E72
RGBrgb(66, 30, 114)
HSLhsl(266, 58%, 28%)
HSVhsv(266, 74%, 45%)
CMYKcmyk(42.1%, 73.7%, 0%, 55.3%)
CIE-LABlab(21.21, 35.85, -41.93)
CIE-LCHlch(21.21, 55.16, 310.53°)
OKLaboklab(33.67% 0.0645 -0.1197)
OKLCHoklch(33.67% 0.136 298.3)
XYZxyz(5.7475, 3.3016, 16.2508)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E72 #4E721E
analogous
#1E2472 #421E72 #6C1E72
triadic
#421E72 #72421E #1E7242
tetradic
#421E72 #721E24 #4E721E #1E726C
square
#421E72 #721E24 #4E721E #1E726C
split-complementary
#421E72 #726C1E #24721E
monochromatic
#0E0618 #261142 #421E72 #5E2BA2 #7B3ECC

Accessibility & contrast

On white

12.65
#421E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421E72
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E72#FFFFFF#000000##FFFFFF
##421E721.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003374
Deuteranopia (green-blind)
#003270
Tritanopia (blue-blind)
#363345
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #421e72;
/* rgb */ color: rgb(66, 30, 114);
/* oklch */ color: oklch(33.7% 0.136 298.3);
Tailwind
colors: {
  custom: {
    50: '#7b5d9b',
    500: '#421e72',
    950: '#000000',
  },
}
SCSS
$custom: #421e72;
$custom-light: #7b5d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#421e72",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 114
  },
  "hsl": {
    "h": 265.714,
    "s": 58.333,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3367,
    "c": 0.13601,
    "h": 298.3
  },
  "luminance": 0.03302
}

Semantic roles & 50–950 ramp

primary
#421E72
secondary
#7DA646
accent
#E2469F
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421E72

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

Preview Lab → · Contrast checker → · Palette generator →

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