#421C72#421C72

#421C72 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.4% C 0.139 H 298.7°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#421C72
RGBrgb(66, 28, 114)
HSLhsl(267, 61%, 28%)
HSVhsv(267, 75%, 45%)
CMYKcmyk(42.1%, 75.4%, 0%, 55.3%)
CIE-LABlab(20.84, 36.89, -42.53)
CIE-LCHlch(20.84, 56.31, 310.94°)
OKLaboklab(33.41% 0.0666 -0.1215)
OKLCHoklch(33.41% 0.139 298.7)
XYZxyz(5.6985, 3.2036, 16.2345)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C72 #4C721C
analogous
#1C2172 #421C72 #6D1C72
triadic
#421C72 #72421C #1C7242
tetradic
#421C72 #721C21 #4C721C #1C726D
square
#421C72 #721C21 #4C721C #1C726D
split-complementary
#421C72 #726D1C #21721C
monochromatic
#0E0619 #261041 #421C72 #5E28A3 #7C3ACF

Accessibility & contrast

On white

12.80
#421C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#421C72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421C72
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421C72#FFFFFF#000000##FFFFFF
##421C721.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003274
Deuteranopia (green-blind)
#003170
Tritanopia (blue-blind)
#363245
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #421c72;
/* rgb */ color: rgb(66, 28, 114);
/* oklch */ color: oklch(33.4% 0.139 298.7);
Tailwind
colors: {
  custom: {
    50: '#7b5c9b',
    500: '#421c72',
    950: '#000000',
  },
}
SCSS
$custom: #421c72;
$custom-light: #7b5c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#421c72",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 114
  },
  "hsl": {
    "h": 266.512,
    "s": 60.563,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33405,
    "c": 0.13858,
    "h": 298.7
  },
  "luminance": 0.03204
}

Semantic roles & 50–950 ramp

primary
#421C72
secondary
#7BA643
accent
#E4449D
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421C72

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

Preview Lab → · Contrast checker → · Palette generator →

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