#421980#421980

#421980 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.158 H 294.5°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#421980
RGBrgb(66, 25, 128)
HSLhsl(264, 67%, 30%)
HSVhsv(264, 80%, 50%)
CMYKcmyk(48.4%, 80.5%, 0%, 49.8%)
CIE-LABlab(21.62, 42.19, -50.20)
CIE-LCHlch(21.62, 65.57, 310.05°)
OKLaboklab(34.35% 0.0657 -0.144)
OKLCHoklch(34.35% 0.158 294.5)
XYZxyz(6.4896, 3.4118, 20.7345)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421980 #578019
analogous
#192480 #421980 #751980
triadic
#421980 #804219 #198042
tetradic
#421980 #801924 #578019 #198075
square
#421980 #801924 #578019 #198075
split-complementary
#421980 #807519 #248019
monochromatic
#0D051A #280F4D #421980 #5C23B3 #7A3BD9

Accessibility & contrast

On white

12.48
#421980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#421980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421980
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421980#FFFFFF#000000##FFFFFF
##4219801.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003583
Deuteranopia (green-blind)
#00327E
Tritanopia (blue-blind)
#30364C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #421980;
/* rgb */ color: rgb(66, 25, 128);
/* oklch */ color: oklch(34.4% 0.158 294.5);
Tailwind
colors: {
  custom: {
    50: '#7d5ba6',
    500: '#421980',
    950: '#000000',
  },
}
SCSS
$custom: #421980;
$custom-light: #7d5ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#421980",
  "rgb": {
    "r": 66,
    "g": 25,
    "b": 128
  },
  "hsl": {
    "h": 263.883,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.34352,
    "c": 0.15823,
    "h": 294.5
  },
  "luminance": 0.03412
}

Semantic roles & 50–950 ramp

primary
#421980
secondary
#86B441
accent
#EA3EA5
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #421980

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

Preview Lab → · Contrast checker → · Palette generator →

#421980 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva