#421C64#421C64

#421C64 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.2% C 0.122 H 304.6°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#421C64
RGBrgb(66, 28, 100)
HSLhsl(272, 56%, 25%)
HSVhsv(272, 72%, 39%)
CMYKcmyk(34%, 72%, 0%, 60.8%)
CIE-LABlab(19.68, 33.10, -35.31)
CIE-LCHlch(19.68, 48.40, 313.14°)
OKLaboklab(32.21% 0.0692 -0.1003)
OKLCHoklch(32.21% 0.122 304.6)
XYZxyz(4.9618, 2.9089, 12.3542)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C64 #3E641C
analogous
#1E1C64 #421C64 #641C62
triadic
#421C64 #64421C #1C6442
tetradic
#421C64 #641E1C #3E641C #1C6264
square
#421C64 #641E1C #3E641C #1C6264
split-complementary
#421C64 #62641C #1C641E
monochromatic
#100718 #220F34 #421C64 #622994 #8137C4

Accessibility & contrast

On white

13.28
#421C64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#421C64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##421C64#FFFFFF#000000##FFFFFF
##421C641.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)
#002F66
Deuteranopia (green-blind)
#033062
Tritanopia (blue-blind)
#3C2C3D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #421c64;
/* rgb */ color: rgb(66, 28, 100);
/* oklch */ color: oklch(32.2% 0.122 304.6);
Tailwind
colors: {
  custom: {
    50: '#7a5b91',
    500: '#421c64',
    950: '#000000',
  },
}
SCSS
$custom: #421c64;
$custom-light: #7a5b91;
$custom-dark: #000000;
JSON
{
  "hex": "#421c64",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 100
  },
  "hsl": {
    "h": 271.667,
    "s": 56.25,
    "l": 25.098
  },
  "oklch": {
    "l": 0.32209,
    "c": 0.12182,
    "h": 304.6
  },
  "luminance": 0.02909
}

Semantic roles & 50–950 ramp

primary
#421C64
secondary
#6B9943
accent
#E04890
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040D
muted
#7B797D

Preview Lab

Preview with #421C64

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

Preview Lab → · Contrast checker → · Palette generator →

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