#421372#421372

#421372 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.4% C 0.149 H 300.3°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#421372
RGBrgb(66, 19, 114)
HSLhsl(270, 71%, 26%)
HSVhsv(270, 83%, 45%)
CMYKcmyk(42.1%, 83.3%, 0%, 55.3%)
CIE-LABlab(19.39, 41.06, -44.91)
CIE-LCHlch(19.39, 60.85, 312.43°)
OKLaboklab(32.38% 0.0751 -0.1284)
OKLCHoklch(32.38% 0.149 300.3)
XYZxyz(5.5161, 2.8388, 16.1737)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421372 #437213
analogous
#131372 #421372 #711372
triadic
#421372 #724213 #137242
tetradic
#421372 #721313 #437213 #137271
square
#421372 #721313 #437213 #137271
split-complementary
#421372 #727113 #137213
monochromatic
#0F041A #240A3E #421372 #601CA6 #7F25DB

Accessibility & contrast

On white

13.39
#421372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421372
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421372#FFFFFF#000000##FFFFFF
##4213721.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #421372;
/* rgb */ color: rgb(66, 19, 114);
/* oklch */ color: oklch(32.4% 0.149 300.3);
Tailwind
colors: {
  custom: {
    50: '#7c579b',
    500: '#421372',
    950: '#000000',
  },
}
SCSS
$custom: #421372;
$custom-light: #7c579b;
$custom-dark: #000000;
JSON
{
  "hex": "#421372",
  "rgb": {
    "r": 66,
    "g": 19,
    "b": 114
  },
  "hsl": {
    "h": 269.684,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32384,
    "c": 0.14874,
    "h": 300.3
  },
  "luminance": 0.02839
}

Semantic roles & 50–950 ramp

primary
#421372
secondary
#71A938
accent
#EE3A95
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #421372

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

Preview Lab → · Contrast checker → · Palette generator →

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