#421880#421880

#421880 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.2% C 0.159 H 294.7°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#421880
RGBrgb(66, 24, 128)
HSLhsl(264, 68%, 30%)
HSVhsv(264, 81%, 50%)
CMYKcmyk(48.4%, 81.3%, 0%, 49.8%)
CIE-LABlab(21.47, 42.64, -50.45)
CIE-LCHlch(21.47, 66.06, 310.20°)
OKLaboklab(34.24% 0.0665 -0.1447)
OKLCHoklch(34.24% 0.159 294.7)
XYZxyz(6.4686, 3.3698, 20.7275)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421880 #568018
analogous
#182280 #421880 #761880
triadic
#421880 #804218 #188042
tetradic
#421880 #801822 #568018 #188076
square
#421880 #801822 #568018 #188076
split-complementary
#421880 #807618 #228018
monochromatic
#0D051A #270E4C #421880 #5D22B4 #7A39DA

Accessibility & contrast

On white

12.54
#421880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#421880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421880
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421880#FFFFFF#000000##FFFFFF
##4218801.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#00327E
Tritanopia (blue-blind)
#30354C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #421880;
/* rgb */ color: rgb(66, 24, 128);
/* oklch */ color: oklch(34.2% 0.159 294.7);
Tailwind
colors: {
  custom: {
    50: '#7e5ba6',
    500: '#421880',
    950: '#000000',
  },
}
SCSS
$custom: #421880;
$custom-light: #7e5ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#421880",
  "rgb": {
    "r": 66,
    "g": 24,
    "b": 128
  },
  "hsl": {
    "h": 264.231,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34244,
    "c": 0.15924,
    "h": 294.7
  },
  "luminance": 0.0337
}

Semantic roles & 50–950 ramp

primary
#421880
secondary
#85B440
accent
#EB3DA5
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #421880

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

Preview Lab → · Contrast checker → · Palette generator →

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