#421A8F#421A8F

#421A8F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.174 H 290.1°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#421A8F
RGBrgb(66, 26, 143)
HSLhsl(261, 69%, 33%)
HSVhsv(261, 82%, 56%)
CMYKcmyk(53.8%, 81.8%, 0%, 43.9%)
CIE-LABlab(23.27, 45.88, -56.90)
CIE-LCHlch(23.27, 73.09, 308.88°)
OKLaboklab(35.95% 0.06 -0.1636)
OKLCHoklch(35.95% 0.174 290.1)
XYZxyz(7.5727, 3.8799, 26.3312)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421A8F #678F1A
analogous
#1A2C8F #421A8F #7C1A8F
triadic
#421A8F #8F421A #1A8F42
tetradic
#421A8F #8F1A2C #678F1A #1A8F7C
square
#421A8F #8F1A2C #678F1A #1A8F7C
split-complementary
#421A8F #8F7C1A #2C8F1A
monochromatic
#120727 #2A115B #421A8F #5A23C3 #7A46DD

Accessibility & contrast

On white

11.82
#421A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#421A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421A8F
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421A8F#FFFFFF#000000##FFFFFF
##421A8F1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#253C55
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #421a8f;
/* rgb */ color: rgb(66, 26, 143);
/* oklch */ color: oklch(35.9% 0.174 290.1);
Tailwind
colors: {
  custom: {
    50: '#805db1',
    500: '#421a8f',
    950: '#000000',
  },
}
SCSS
$custom: #421a8f;
$custom-light: #805db1;
$custom-dark: #000000;
JSON
{
  "hex": "#421a8f",
  "rgb": {
    "r": 66,
    "g": 26,
    "b": 143
  },
  "hsl": {
    "h": 260.513,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.3595,
    "c": 0.17424,
    "h": 290.1
  },
  "luminance": 0.0388
}

Semantic roles & 50–950 ramp

primary
#421A8F
secondary
#95BF46
accent
#EC3CB0
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #421A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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