#421E81#421E81

#421E81 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.154 H 293.4°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#421E81
RGBrgb(66, 30, 129)
HSLhsl(262, 62%, 31%)
HSVhsv(262, 77%, 51%)
CMYKcmyk(48.8%, 76.7%, 0%, 49.4%)
CIE-LABlab(22.55, 40.08, -49.30)
CIE-LCHlch(22.55, 63.54, 309.11°)
OKLaboklab(35.03% 0.061 -0.1414)
OKLCHoklch(35.03% 0.154 293.4)
XYZxyz(6.6724, 3.6716, 21.1217)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E81 #5D811E
analogous
#1E2B81 #421E81 #731E81
triadic
#421E81 #81421E #1E8142
tetradic
#421E81 #811E2B #5D811E #1E8173
square
#421E81 #811E2B #5D811E #1E8173
split-complementary
#421E81 #81731E #2B811E
monochromatic
#0F071E #29124F #421E81 #5B2AB3 #7946D4

Accessibility & contrast

On white

12.11
#421E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#421E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421E81
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E81#FFFFFF#000000##FFFFFF
##421E811.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003784
Deuteranopia (green-blind)
#00347F
Tritanopia (blue-blind)
#2F384E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #421e81;
/* rgb */ color: rgb(66, 30, 129);
/* oklch */ color: oklch(35.0% 0.154 293.4);
Tailwind
colors: {
  custom: {
    50: '#7d5ea6',
    500: '#421e81',
    950: '#000000',
  },
}
SCSS
$custom: #421e81;
$custom-light: #7d5ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#421e81",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 129
  },
  "hsl": {
    "h": 261.818,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35034,
    "c": 0.154,
    "h": 293.4
  },
  "luminance": 0.03672
}

Semantic roles & 50–950 ramp

primary
#421E81
secondary
#8CB447
accent
#E542AA
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #421E81

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

Preview Lab → · Contrast checker → · Palette generator →

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