#421B80#421B80

#421B80 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.156 H 294.2°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#421B80
RGBrgb(66, 27, 128)
HSLhsl(263, 65%, 30%)
HSVhsv(263, 79%, 50%)
CMYKcmyk(48.4%, 78.9%, 0%, 49.8%)
CIE-LABlab(21.95, 41.26, -49.67)
CIE-LCHlch(21.95, 64.57, 309.72°)
OKLaboklab(34.58% 0.064 -0.1424)
OKLCHoklch(34.58% 0.156 294.2)
XYZxyz(6.5339, 3.5004, 20.7493)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421B80 #59801B
analogous
#1B2780 #421B80 #741B80
triadic
#421B80 #80421B #1B8042
tetradic
#421B80 #801B27 #59801B #1B8074
square
#421B80 #801B27 #59801B #1B8074
split-complementary
#421B80 #80741B #27801B
monochromatic
#0E061B #28104D #421B80 #5C26B3 #793FD6

Accessibility & contrast

On white

12.35
#421B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#421B80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421B80
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421B80#FFFFFF#000000##FFFFFF
##421B801.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003683
Deuteranopia (green-blind)
#00337E
Tritanopia (blue-blind)
#2F374D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #421b80;
/* rgb */ color: rgb(66, 27, 128);
/* oklch */ color: oklch(34.6% 0.156 294.2);
Tailwind
colors: {
  custom: {
    50: '#7d5ca6',
    500: '#421b80',
    950: '#000000',
  },
}
SCSS
$custom: #421b80;
$custom-light: #7d5ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#421b80",
  "rgb": {
    "r": 66,
    "g": 27,
    "b": 128
  },
  "hsl": {
    "h": 263.168,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34578,
    "c": 0.15615,
    "h": 294.2
  },
  "luminance": 0.03501
}

Semantic roles & 50–950 ramp

primary
#421B80
secondary
#88B443
accent
#E840A7
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #421B80

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

Preview Lab → · Contrast checker → · Palette generator →

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