#421A63#421A63

#421A63 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.9% C 0.123 H 305.5°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#421A63
RGBrgb(66, 26, 99)
HSLhsl(273, 58%, 25%)
HSVhsv(273, 74%, 39%)
CMYKcmyk(33.3%, 73.7%, 0%, 61.2%)
CIE-LABlab(19.22, 33.89, -35.40)
CIE-LCHlch(19.22, 49.01, 313.75°)
OKLaboklab(31.86% 0.0717 -0.1005)
OKLCHoklch(31.86% 0.123 305.5)
XYZxyz(4.8678, 2.7979, 12.0856)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421A63 #3B631A
analogous
#1E1A63 #421A63 #631A60
triadic
#421A63 #63421A #1A6342
tetradic
#421A63 #631E1A #3B631A #1A6063
square
#421A63 #631E1A #3B631A #1A6063
split-complementary
#421A63 #60631A #1A631E
monochromatic
#100618 #220D33 #421A63 #622793 #8333C4

Accessibility & contrast

On white

13.46
#421A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421A63
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421A63#FFFFFF#000000##FFFFFF
##421A631.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D65
Deuteranopia (green-blind)
#022F61
Tritanopia (blue-blind)
#3C2B3C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #421a63;
/* rgb */ color: rgb(66, 26, 99);
/* oklch */ color: oklch(31.9% 0.123 305.5);
Tailwind
colors: {
  custom: {
    50: '#7a5a90',
    500: '#421a63',
    950: '#000000',
  },
}
SCSS
$custom: #421a63;
$custom-light: #7a5a90;
$custom-dark: #000000;
JSON
{
  "hex": "#421a63",
  "rgb": {
    "r": 66,
    "g": 26,
    "b": 99
  },
  "hsl": {
    "h": 272.877,
    "s": 58.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.31855,
    "c": 0.12348,
    "h": 305.5
  },
  "luminance": 0.02798
}

Semantic roles & 50–950 ramp

primary
#421A63
secondary
#689940
accent
#E2468C
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #421A63

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

Preview Lab → · Contrast checker → · Palette generator →

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