#421580#421580

#421580 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.9% C 0.162 H 295.1°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#421580
RGBrgb(66, 21, 128)
HSLhsl(265, 72%, 29%)
HSVhsv(265, 84%, 50%)
CMYKcmyk(48.4%, 83.6%, 0%, 49.8%)
CIE-LABlab(21.03, 43.91, -51.17)
CIE-LCHlch(21.03, 67.43, 310.63°)
OKLaboklab(33.94% 0.0688 -0.1468)
OKLCHoklch(33.94% 0.162 295.1)
XYZxyz(6.4102, 3.2529, 20.7080)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421580 #538015
analogous
#151D80 #421580 #781580
triadic
#421580 #804215 #158042
tetradic
#421580 #80151D #538015 #158078
square
#421580 #80151D #538015 #158078
split-complementary
#421580 #807815 #1D8015
monochromatic
#0E041A #270C4B #421580 #5D1EB5 #7A32DD

Accessibility & contrast

On white

12.72
#421580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#421580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421580
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421580#FFFFFF#000000##FFFFFF
##4215801.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003383
Deuteranopia (green-blind)
#00317E
Tritanopia (blue-blind)
#30344B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #421580;
/* rgb */ color: rgb(66, 21, 128);
/* oklch */ color: oklch(33.9% 0.162 295.1);
Tailwind
colors: {
  custom: {
    50: '#7e59a6',
    500: '#421580',
    950: '#000000',
  },
}
SCSS
$custom: #421580;
$custom-light: #7e59a6;
$custom-dark: #000000;
JSON
{
  "hex": "#421580",
  "rgb": {
    "r": 66,
    "g": 21,
    "b": 128
  },
  "hsl": {
    "h": 265.234,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3394,
    "c": 0.16209,
    "h": 295.1
  },
  "luminance": 0.03253
}

Semantic roles & 50–950 ramp

primary
#421580
secondary
#82B53C
accent
#EF39A2
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #421580

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

Preview Lab → · Contrast checker → · Palette generator →

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