#421072#421072

#421072 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 32.1% C 0.152 H 300.7°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#421072
RGBrgb(66, 16, 114)
HSLhsl(271, 75%, 25%)
HSVhsv(271, 86%, 45%)
CMYKcmyk(42.1%, 86%, 0%, 55.3%)
CIE-LABlab(18.99, 42.22, -45.56)
CIE-LCHlch(18.99, 62.12, 312.82°)
OKLaboklab(32.11% 0.0774 -0.1303)
OKLCHoklch(32.11% 0.152 300.7)
XYZxyz(5.4686, 2.7437, 16.1578)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421072 #407210
analogous
#111072 #421072 #721071
triadic
#421072 #724210 #107242
tetradic
#421072 #721110 #407210 #107172
square
#421072 #721110 #407210 #107172
split-complementary
#421072 #717210 #107211
monochromatic
#10041B #23083C #421072 #6118A8 #801FDD

Accessibility & contrast

On white

13.56
#421072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#421072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421072
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421072#FFFFFF#000000##FFFFFF
##4210721.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E75
Deuteranopia (green-blind)
#002D70
Tritanopia (blue-blind)
#372C42
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #421072;
/* rgb */ color: rgb(66, 16, 114);
/* oklch */ color: oklch(32.1% 0.152 300.7);
Tailwind
colors: {
  custom: {
    50: '#7c569b',
    500: '#421072',
    950: '#000000',
  },
}
SCSS
$custom: #421072;
$custom-light: #7c569b;
$custom-dark: #000000;
JSON
{
  "hex": "#421072",
  "rgb": {
    "r": 66,
    "g": 16,
    "b": 114
  },
  "hsl": {
    "h": 270.612,
    "s": 75.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32107,
    "c": 0.15155,
    "h": 300.7
  },
  "luminance": 0.02744
}

Semantic roles & 50–950 ramp

primary
#421072
secondary
#6EA934
accent
#F23692
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #421072

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

Preview Lab → · Contrast checker → · Palette generator →

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