#421A62#421A62

#421A62 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.8% C 0.122 H 306.0°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#421A62
RGBrgb(66, 26, 98)
HSLhsl(273, 58%, 24%)
HSVhsv(273, 73%, 38%)
CMYKcmyk(32.7%, 73.5%, 0%, 61.6%)
CIE-LABlab(19.14, 33.63, -34.87)
CIE-LCHlch(19.14, 48.44, 313.96°)
OKLaboklab(31.77% 0.0719 -0.099)
OKLCHoklch(31.77% 0.122 306)
XYZxyz(4.8203, 2.7789, 11.8354)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421A62 #3A621A
analogous
#1E1A62 #421A62 #621A5E
triadic
#421A62 #62421A #1A6242
tetradic
#421A62 #621E1A #3A621A #1A5E62
square
#421A62 #621E1A #3A621A #1A5E62
split-complementary
#421A62 #5E621A #1A621E
monochromatic
#100618 #210D32 #421A62 #632792 #8334C3

Accessibility & contrast

On white

13.50
#421A62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#421A62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421A62
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421A62#FFFFFF#000000##FFFFFF
##421A621.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D64
Deuteranopia (green-blind)
#032F60
Tritanopia (blue-blind)
#3C2A3C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #421a62;
/* rgb */ color: rgb(66, 26, 98);
/* oklch */ color: oklch(31.8% 0.122 306.0);
Tailwind
colors: {
  custom: {
    50: '#7a5a8f',
    500: '#421a62',
    950: '#000000',
  },
}
SCSS
$custom: #421a62;
$custom-light: #7a5a8f;
$custom-dark: #000000;
JSON
{
  "hex": "#421a62",
  "rgb": {
    "r": 66,
    "g": 26,
    "b": 98
  },
  "hsl": {
    "h": 273.333,
    "s": 58.065,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31773,
    "c": 0.1223,
    "h": 306
  },
  "luminance": 0.02779
}

Semantic roles & 50–950 ramp

primary
#421A62
secondary
#679840
accent
#E1478B
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #421A62

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

Preview Lab → · Contrast checker → · Palette generator →

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