#421472#421472

#421472 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.148 H 300.2°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#421472
RGBrgb(66, 20, 114)
HSLhsl(269, 70%, 26%)
HSVhsv(269, 82%, 45%)
CMYKcmyk(42.1%, 82.5%, 0%, 55.3%)
CIE-LABlab(19.53, 40.64, -44.67)
CIE-LCHlch(19.53, 60.39, 312.29°)
OKLaboklab(32.48% 0.0742 -0.1277)
OKLCHoklch(32.48% 0.148 300.2)
XYZxyz(5.5334, 2.8734, 16.1794)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421472 #447214
analogous
#141572 #421472 #711472
triadic
#421472 #724214 #147242
tetradic
#421472 #721415 #447214 #147271
square
#421472 #721415 #447214 #147271
split-complementary
#421472 #727114 #157214
monochromatic
#0F051A #240B3E #421472 #601DA6 #7E27D9

Accessibility & contrast

On white

13.34
#421472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#421472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421472
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421472#FFFFFF#000000##FFFFFF
##4214721.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F75
Deuteranopia (green-blind)
#002F70
Tritanopia (blue-blind)
#372E43
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #421472;
/* rgb */ color: rgb(66, 20, 114);
/* oklch */ color: oklch(32.5% 0.148 300.2);
Tailwind
colors: {
  custom: {
    50: '#7c589b',
    500: '#421472',
    950: '#000000',
  },
}
SCSS
$custom: #421472;
$custom-light: #7c589b;
$custom-dark: #000000;
JSON
{
  "hex": "#421472",
  "rgb": {
    "r": 66,
    "g": 20,
    "b": 114
  },
  "hsl": {
    "h": 269.362,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32484,
    "c": 0.14773,
    "h": 300.2
  },
  "luminance": 0.02873
}

Semantic roles & 50–950 ramp

primary
#421472
secondary
#72A839
accent
#ED3B96
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421472

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

Preview Lab → · Contrast checker → · Palette generator →

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