#421D72#421D72

#421D72 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.5% C 0.137 H 298.5°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#421D72
RGBrgb(66, 29, 114)
HSLhsl(266, 59%, 28%)
HSVhsv(266, 75%, 45%)
CMYKcmyk(42.1%, 74.6%, 0%, 55.3%)
CIE-LABlab(21.03, 36.38, -42.23)
CIE-LCHlch(21.03, 55.74, 310.74°)
OKLaboklab(33.54% 0.0656 -0.1206)
OKLCHoklch(33.54% 0.137 298.5)
XYZxyz(5.7226, 3.2518, 16.2425)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421D72 #4D721D
analogous
#1D2272 #421D72 #6C1D72
triadic
#421D72 #72421D #1D7242
tetradic
#421D72 #721D22 #4D721D #1D726C
square
#421D72 #721D22 #4D721D #1D726C
split-complementary
#421D72 #726C1D #22721D
monochromatic
#0E0618 #261141 #421D72 #5E29A3 #7B3CCD

Accessibility & contrast

On white

12.72
#421D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#421D72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421D72
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421D72#FFFFFF#000000##FFFFFF
##421D721.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #421d72;
/* rgb */ color: rgb(66, 29, 114);
/* oklch */ color: oklch(33.5% 0.137 298.5);
Tailwind
colors: {
  custom: {
    50: '#7b5c9b',
    500: '#421d72',
    950: '#000000',
  },
}
SCSS
$custom: #421d72;
$custom-light: #7b5c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#421d72",
  "rgb": {
    "r": 66,
    "g": 29,
    "b": 114
  },
  "hsl": {
    "h": 266.118,
    "s": 59.441,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33536,
    "c": 0.1373,
    "h": 298.5
  },
  "luminance": 0.03252
}

Semantic roles & 50–950 ramp

primary
#421D72
secondary
#7CA645
accent
#E3459E
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421D72

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

Preview Lab → · Contrast checker → · Palette generator →

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