#421C76#421C76

#421C76 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.8% C 0.143 H 297.3°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#421C76
RGBrgb(66, 28, 118)
HSLhsl(265, 62%, 29%)
HSVhsv(265, 76%, 46%)
CMYKcmyk(44.1%, 76.3%, 0%, 53.7%)
CIE-LABlab(21.20, 38.00, -44.53)
CIE-LCHlch(21.20, 58.54, 310.48°)
OKLaboklab(33.77% 0.0657 -0.1274)
OKLCHoklch(33.77% 0.143 297.3)
XYZxyz(5.9312, 3.2967, 17.4599)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C76 #50761C
analogous
#1C2376 #421C76 #6F1C76
triadic
#421C76 #76421C #1C7642
tetradic
#421C76 #761C23 #50761C #1C766F
square
#421C76 #761C23 #50761C #1C766F
split-complementary
#421C76 #766F1C #23761C
monochromatic
#0E0619 #261045 #421C76 #5E28A7 #7B3CD1

Accessibility & contrast

On white

12.66
#421C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#421C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421C76
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421C76#FFFFFF#000000##FFFFFF
##421C761.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003379
Deuteranopia (green-blind)
#003274
Tritanopia (blue-blind)
#353347
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #421c76;
/* rgb */ color: rgb(66, 28, 118);
/* oklch */ color: oklch(33.8% 0.143 297.3);
Tailwind
colors: {
  custom: {
    50: '#7c5c9e',
    500: '#421c76',
    950: '#000000',
  },
}
SCSS
$custom: #421c76;
$custom-light: #7c5c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#421c76",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 118
  },
  "hsl": {
    "h": 265.333,
    "s": 61.644,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33765,
    "c": 0.14332,
    "h": 297.3
  },
  "luminance": 0.03297
}

Semantic roles & 50–950 ramp

primary
#421C76
secondary
#7FAA44
accent
#E543A0
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421C76

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

Preview Lab → · Contrast checker → · Palette generator →

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