#421572#421572

#421572 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.147 H 300.0°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#421572
RGBrgb(66, 21, 114)
HSLhsl(269, 69%, 26%)
HSVhsv(269, 82%, 45%)
CMYKcmyk(42.1%, 81.6%, 0%, 55.3%)
CIE-LABlab(19.68, 40.21, -44.43)
CIE-LCHlch(19.68, 59.93, 312.15°)
OKLaboklab(32.59% 0.0734 -0.127)
OKLCHoklch(32.59% 0.147 300)
XYZxyz(5.5514, 2.9094, 16.1854)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421572 #457215
analogous
#151772 #421572 #711572
triadic
#421572 #724215 #157242
tetradic
#421572 #721517 #457215 #157271
square
#421572 #721517 #457215 #157271
split-complementary
#421572 #727115 #177215
monochromatic
#0F051A #240B3E #421572 #601FA6 #7E2AD8

Accessibility & contrast

On white

13.28
#421572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#421572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421572
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421572#FFFFFF#000000##FFFFFF
##4215721.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #421572;
/* rgb */ color: rgb(66, 21, 114);
/* oklch */ color: oklch(32.6% 0.147 300.0);
Tailwind
colors: {
  custom: {
    50: '#7c589b',
    500: '#421572',
    950: '#000000',
  },
}
SCSS
$custom: #421572;
$custom-light: #7c589b;
$custom-dark: #000000;
JSON
{
  "hex": "#421572",
  "rgb": {
    "r": 66,
    "g": 21,
    "b": 114
  },
  "hsl": {
    "h": 269.032,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.32587,
    "c": 0.1467,
    "h": 300
  },
  "luminance": 0.02909
}

Semantic roles & 50–950 ramp

primary
#421572
secondary
#73A83B
accent
#EC3C97
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421572

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

Preview Lab → · Contrast checker → · Palette generator →

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