#421C84#421C84

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

Color values

HEX#421C84
RGBrgb(66, 28, 132)
HSLhsl(262, 65%, 31%)
HSVhsv(262, 79%, 52%)
CMYKcmyk(50%, 78.8%, 0%, 48.2%)
CIE-LABlab(22.49, 41.90, -51.29)
CIE-LCHlch(22.49, 66.23, 309.25°)
OKLaboklab(35.08% 0.062 -0.1472)
OKLCHoklch(35.08% 0.16 292.8)
XYZxyz(6.8257, 3.6545, 22.1711)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C84 #5E841C
analogous
#1C2A84 #421C84 #761C84
triadic
#421C84 #84421C #1C8442
tetradic
#421C84 #841C2A #5E841C #1C8476
square
#421C84 #841C2A #5E841C #1C8476
split-complementary
#421C84 #84761C #2A841C
monochromatic
#10071F #291152 #421C84 #5B27B6 #7943D7

Accessibility & contrast

On white

12.13
#421C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421C84
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421C84#FFFFFF#000000##FFFFFF
##421C841.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003787
Deuteranopia (green-blind)
#003482
Tritanopia (blue-blind)
#2D394F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #421c84;
/* rgb */ color: rgb(66, 28, 132);
/* oklch */ color: oklch(35.1% 0.160 292.8);
Tailwind
colors: {
  custom: {
    50: '#7e5da9',
    500: '#421c84',
    950: '#000000',
  },
}
SCSS
$custom: #421c84;
$custom-light: #7e5da9;
$custom-dark: #000000;
JSON
{
  "hex": "#421c84",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 132
  },
  "hsl": {
    "h": 261.923,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35079,
    "c": 0.15971,
    "h": 292.8
  },
  "luminance": 0.03655
}

Semantic roles & 50–950 ramp

primary
#421C84
secondary
#8DB745
accent
#E840AB
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #421C84

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

Preview Lab → · Contrast checker → · Palette generator →

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