#421F80#421F80

#421F80 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.152 H 293.5°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#421F80
RGBrgb(66, 31, 128)
HSLhsl(262, 61%, 31%)
HSVhsv(262, 76%, 50%)
CMYKcmyk(48.4%, 75.8%, 0%, 49.8%)
CIE-LABlab(22.64, 39.29, -48.53)
CIE-LCHlch(22.64, 62.44, 308.99°)
OKLaboklab(35.07% 0.0604 -0.1391)
OKLCHoklch(35.07% 0.152 293.5)
XYZxyz(6.6320, 3.6965, 20.7820)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421F80 #5D801F
analogous
#1F2D80 #421F80 #721F80
triadic
#421F80 #80421F #1F8042
tetradic
#421F80 #801F2D #5D801F #1F8072
square
#421F80 #801F2D #5D801F #1F8072
split-complementary
#421F80 #80721F #2D801F
monochromatic
#0F071D #29134F #421F80 #5B2BB1 #7947D2

Accessibility & contrast

On white

12.07
#421F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#421F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421F80
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421F80#FFFFFF#000000##FFFFFF
##421F801.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003783
Deuteranopia (green-blind)
#00347E
Tritanopia (blue-blind)
#2F394E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #421f80;
/* rgb */ color: rgb(66, 31, 128);
/* oklch */ color: oklch(35.1% 0.152 293.5);
Tailwind
colors: {
  custom: {
    50: '#7d5ea6',
    500: '#421f80',
    950: '#000000',
  },
}
SCSS
$custom: #421f80;
$custom-light: #7d5ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#421f80",
  "rgb": {
    "r": 66,
    "g": 31,
    "b": 128
  },
  "hsl": {
    "h": 261.649,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35067,
    "c": 0.15167,
    "h": 293.5
  },
  "luminance": 0.03697
}

Semantic roles & 50–950 ramp

primary
#421F80
secondary
#8CB348
accent
#E444AA
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #421F80

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

Preview Lab → · Contrast checker → · Palette generator →

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