#421A7C#421A7C

#421A7C is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.1% C 0.153 H 295.6°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#421A7C
RGBrgb(66, 26, 124)
HSLhsl(264, 65%, 29%)
HSVhsv(264, 79%, 49%)
CMYKcmyk(46.8%, 79%, 0%, 51.4%)
CIE-LABlab(21.40, 40.63, -48.02)
CIE-LCHlch(21.40, 62.90, 310.24°)
OKLaboklab(34.08% 0.066 -0.1376)
OKLCHoklch(34.08% 0.153 295.6)
XYZxyz(6.2533, 3.3521, 19.3824)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421A7C #547C1A
analogous
#1A237C #421A7C #731A7C
triadic
#421A7C #7C421A #1A7C42
tetradic
#421A7C #7C1A23 #547C1A #1A7C73
square
#421A7C #7C1A23 #547C1A #1A7C73
split-complementary
#421A7C #7C731A #237C1A
monochromatic
#0D0519 #270F49 #421A7C #5D25AF #7A3BD6

Accessibility & contrast

On white

12.57
#421A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#421A7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421A7C
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421A7C#FFFFFF#000000##FFFFFF
##421A7C1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347F
Deuteranopia (green-blind)
#00327A
Tritanopia (blue-blind)
#32354A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #421a7c;
/* rgb */ color: rgb(66, 26, 124);
/* oklch */ color: oklch(34.1% 0.153 295.6);
Tailwind
colors: {
  custom: {
    50: '#7d5ba3',
    500: '#421a7c',
    950: '#000000',
  },
}
SCSS
$custom: #421a7c;
$custom-light: #7d5ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#421a7c",
  "rgb": {
    "r": 66,
    "g": 26,
    "b": 124
  },
  "hsl": {
    "h": 264.49,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34081,
    "c": 0.15261,
    "h": 295.6
  },
  "luminance": 0.03352
}

Semantic roles & 50–950 ramp

primary
#421A7C
secondary
#83B042
accent
#E840A3
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #421A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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