#421780#421780

#421780 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.1% C 0.160 H 294.8°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#421780
RGBrgb(66, 23, 128)
HSLhsl(265, 70%, 30%)
HSVhsv(265, 82%, 50%)
CMYKcmyk(48.4%, 82%, 0%, 49.8%)
CIE-LABlab(21.32, 43.08, -50.70)
CIE-LCHlch(21.32, 66.53, 310.35°)
OKLaboklab(34.14% 0.0673 -0.1454)
OKLCHoklch(34.14% 0.16 294.8)
XYZxyz(6.4484, 3.3294, 20.7208)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421780 #558017
analogous
#172180 #421780 #761780
triadic
#421780 #804217 #178042
tetradic
#421780 #801721 #558017 #178076
square
#421780 #801721 #558017 #178076
split-complementary
#421780 #807617 #218017
monochromatic
#0D051A #270E4C #421780 #5D20B4 #7A36DB

Accessibility & contrast

On white

12.61
#421780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421780
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421780#FFFFFF#000000##FFFFFF
##4217801.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #421780;
/* rgb */ color: rgb(66, 23, 128);
/* oklch */ color: oklch(34.1% 0.160 294.8);
Tailwind
colors: {
  custom: {
    50: '#7e5aa6',
    500: '#421780',
    950: '#000000',
  },
}
SCSS
$custom: #421780;
$custom-light: #7e5aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#421780",
  "rgb": {
    "r": 66,
    "g": 23,
    "b": 128
  },
  "hsl": {
    "h": 264.571,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3414,
    "c": 0.16022,
    "h": 294.8
  },
  "luminance": 0.0333
}

Semantic roles & 50–950 ramp

primary
#421780
secondary
#84B43E
accent
#EC3BA4
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #421780

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

Preview Lab → · Contrast checker → · Palette generator →

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