#421E79#421E79

#421E79 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.3% C 0.144 H 295.9°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#421E79
RGBrgb(66, 30, 121)
HSLhsl(264, 60%, 30%)
HSVhsv(264, 75%, 47%)
CMYKcmyk(45.5%, 75.2%, 0%, 52.5%)
CIE-LABlab(21.83, 37.82, -45.42)
CIE-LCHlch(21.83, 59.10, 309.78°)
OKLaboklab(34.29% 0.063 -0.13)
OKLCHoklch(34.29% 0.144 295.9)
XYZxyz(6.1613, 3.4671, 18.4301)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E79 #55791E
analogous
#1E2879 #421E79 #701E79
triadic
#421E79 #79421E #1E7942
tetradic
#421E79 #791E28 #55791E #1E7970
square
#421E79 #791E28 #55791E #1E7970
split-complementary
#421E79 #79701E #28791E
monochromatic
#0D0619 #271248 #421E79 #5D2AAA #7A41D0

Accessibility & contrast

On white

12.40
#421E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#421E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421E79
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E79#FFFFFF#000000##FFFFFF
##421E791.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357C
Deuteranopia (green-blind)
#003377
Tritanopia (blue-blind)
#333549
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #421e79;
/* rgb */ color: rgb(66, 30, 121);
/* oklch */ color: oklch(34.3% 0.144 295.9);
Tailwind
colors: {
  custom: {
    50: '#7c5da0',
    500: '#421e79',
    950: '#000000',
  },
}
SCSS
$custom: #421e79;
$custom-light: #7c5da0;
$custom-dark: #000000;
JSON
{
  "hex": "#421e79",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 263.736,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34294,
    "c": 0.14446,
    "h": 295.9
  },
  "luminance": 0.03467
}

Semantic roles & 50–950 ramp

primary
#421E79
secondary
#84AD46
accent
#E344A5
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #421E79

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

Preview Lab → · Contrast checker → · Palette generator →

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