#421D62#421D62

#421D62 is a dark, moderate violet. Relative luminance 0.029; OKLCH L 32.2% C 0.118 H 305.3°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#421D62
RGBrgb(66, 29, 98)
HSLhsl(272, 54%, 25%)
HSVhsv(272, 70%, 38%)
CMYKcmyk(32.7%, 70.4%, 0%, 61.6%)
CIE-LABlab(19.72, 32.02, -33.93)
CIE-LCHlch(19.72, 46.65, 313.34°)
OKLaboklab(32.19% 0.0682 -0.0962)
OKLCHoklch(32.19% 0.118 305.3)
XYZxyz(4.8903, 2.9189, 11.8587)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421D62 #3D621D
analogous
#1F1D62 #421D62 #621D60
triadic
#421D62 #62421D #1D6242
tetradic
#421D62 #621F1D #3D621D #1D6062
square
#421D62 #621F1D #3D621D #1D6062
split-complementary
#421D62 #60621D #1D621F
monochromatic
#100718 #220F33 #421D62 #622B91 #8239C0

Accessibility & contrast

On white

13.26
#421D62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421D62
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421D62#FFFFFF#000000##FFFFFF
##421D621.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F64
Deuteranopia (green-blind)
#093060
Tritanopia (blue-blind)
#3C2C3C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #421d62;
/* rgb */ color: rgb(66, 29, 98);
/* oklch */ color: oklch(32.2% 0.118 305.3);
Tailwind
colors: {
  custom: {
    50: '#795c8f',
    500: '#421d62',
    950: '#000000',
  },
}
SCSS
$custom: #421d62;
$custom-light: #795c8f;
$custom-dark: #000000;
JSON
{
  "hex": "#421d62",
  "rgb": {
    "r": 66,
    "g": 29,
    "b": 98
  },
  "hsl": {
    "h": 272.174,
    "s": 54.331,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32189,
    "c": 0.11792,
    "h": 305.3
  },
  "luminance": 0.02919
}

Semantic roles & 50–950 ramp

primary
#421D62
secondary
#6A9744
accent
#DE4A8F
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #421D62

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

Preview Lab → · Contrast checker → · Palette generator →

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