#421C7A#421C7A

#421C7A is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.1% C 0.148 H 295.9°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#421C7A
RGBrgb(66, 28, 122)
HSLhsl(264, 63%, 29%)
HSVhsv(264, 77%, 48%)
CMYKcmyk(45.9%, 77%, 0%, 52.2%)
CIE-LABlab(21.56, 39.11, -46.49)
CIE-LCHlch(21.56, 60.76, 310.07°)
OKLaboklab(34.13% 0.0647 -0.1331)
OKLCHoklch(34.13% 0.148 295.9)
XYZxyz(6.1739, 3.3938, 18.7384)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C7A #547A1C
analogous
#1C257A #421C7A #711C7A
triadic
#421C7A #7A421C #1C7A42
tetradic
#421C7A #7A1C25 #547A1C #1C7A71
square
#421C7A #7A1C25 #547A1C #1C7A71
split-complementary
#421C7A #7A711C #257A1C
monochromatic
#0D0619 #271148 #421C7A #5D27AC #7A3ED3

Accessibility & contrast

On white

12.51
#421C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#421C7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421C7A
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421C7A#FFFFFF#000000##FFFFFF
##421C7A1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347D
Deuteranopia (green-blind)
#003278
Tritanopia (blue-blind)
#333549
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #421c7a;
/* rgb */ color: rgb(66, 28, 122);
/* oklch */ color: oklch(34.1% 0.148 295.9);
Tailwind
colors: {
  custom: {
    50: '#7c5ca1',
    500: '#421c7a',
    950: '#000000',
  },
}
SCSS
$custom: #421c7a;
$custom-light: #7c5ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#421c7a",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 122
  },
  "hsl": {
    "h": 264.255,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34132,
    "c": 0.14803,
    "h": 295.9
  },
  "luminance": 0.03394
}

Semantic roles & 50–950 ramp

primary
#421C7A
secondary
#83AE44
accent
#E642A4
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #421C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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