#421D63#421D63

#421D63 is a dark, moderate violet. Relative luminance 0.029; OKLCH L 32.3% C 0.119 H 304.8°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#421D63
RGBrgb(66, 29, 99)
HSLhsl(272, 55%, 25%)
HSVhsv(272, 71%, 39%)
CMYKcmyk(33.3%, 70.7%, 0%, 61.2%)
CIE-LABlab(19.79, 32.28, -34.47)
CIE-LCHlch(19.79, 47.23, 313.13°)
OKLaboklab(32.27% 0.0681 -0.0978)
OKLCHoklch(32.27% 0.119 304.8)
XYZxyz(4.9378, 2.9379, 12.1089)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421D63 #3E631D
analogous
#1F1D63 #421D63 #631D61
triadic
#421D63 #63421D #1D6342
tetradic
#421D63 #631F1D #3E631D #1D6163
square
#421D63 #631F1D #3E631D #1D6163
split-complementary
#421D63 #61631D #1D631F
monochromatic
#100718 #220F34 #421D63 #622B92 #8139C2

Accessibility & contrast

On white

13.23
#421D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#421D63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421D63
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421D63#FFFFFF#000000##FFFFFF
##421D631.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F65
Deuteranopia (green-blind)
#073061
Tritanopia (blue-blind)
#3C2C3D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #421d63;
/* rgb */ color: rgb(66, 29, 99);
/* oklch */ color: oklch(32.3% 0.119 304.8);
Tailwind
colors: {
  custom: {
    50: '#7a5c90',
    500: '#421d63',
    950: '#000000',
  },
}
SCSS
$custom: #421d63;
$custom-light: #7a5c90;
$custom-dark: #000000;
JSON
{
  "hex": "#421d63",
  "rgb": {
    "r": 66,
    "g": 29,
    "b": 99
  },
  "hsl": {
    "h": 271.714,
    "s": 54.688,
    "l": 25.098
  },
  "oklch": {
    "l": 0.32269,
    "c": 0.11914,
    "h": 304.8
  },
  "luminance": 0.02938
}

Semantic roles & 50–950 ramp

primary
#421D63
secondary
#6B9844
accent
#DE4A90
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #421D63

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

Preview Lab → · Contrast checker → · Palette generator →

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