#421A66#421A66

#421A66 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.1% C 0.127 H 304.1°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#421A66
RGBrgb(66, 26, 102)
HSLhsl(272, 59%, 25%)
HSVhsv(272, 75%, 40%)
CMYKcmyk(35.3%, 74.5%, 0%, 60%)
CIE-LABlab(19.46, 34.68, -36.98)
CIE-LCHlch(19.46, 50.69, 313.16°)
OKLaboklab(32.11% 0.0712 -0.1052)
OKLCHoklch(32.11% 0.127 304.1)
XYZxyz(5.0139, 2.8564, 12.8550)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421A66 #3E661A
analogous
#1C1A66 #421A66 #661A64
triadic
#421A66 #66421A #1A6642
tetradic
#421A66 #661C1A #3E661A #1A6466
square
#421A66 #661C1A #3E661A #1A6466
split-complementary
#421A66 #64661A #1A661C
monochromatic
#100618 #220E35 #421A66 #622697 #8133C8

Accessibility & contrast

On white

13.37
#421A66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#421A66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421A66
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421A66#FFFFFF#000000##FFFFFF
##421A661.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E68
Deuteranopia (green-blind)
#002F64
Tritanopia (blue-blind)
#3B2C3E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #421a66;
/* rgb */ color: rgb(66, 26, 102);
/* oklch */ color: oklch(32.1% 0.127 304.1);
Tailwind
colors: {
  custom: {
    50: '#7a5a92',
    500: '#421a66',
    950: '#000000',
  },
}
SCSS
$custom: #421a66;
$custom-light: #7a5a92;
$custom-dark: #000000;
JSON
{
  "hex": "#421a66",
  "rgb": {
    "r": 66,
    "g": 26,
    "b": 102
  },
  "hsl": {
    "h": 271.579,
    "s": 59.375,
    "l": 25.098
  },
  "oklch": {
    "l": 0.32106,
    "c": 0.12701,
    "h": 304.1
  },
  "luminance": 0.02856
}

Semantic roles & 50–950 ramp

primary
#421A66
secondary
#6B9C40
accent
#E34590
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #421A66

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

Preview Lab → · Contrast checker → · Palette generator →

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