#421A57#421A57

#421A57 is a dark, moderate violet. Relative luminance 0.026; OKLCH L 30.9% C 0.109 H 311.9°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#421A57
RGBrgb(66, 26, 87)
HSLhsl(279, 54%, 22%)
HSVhsv(279, 70%, 34%)
CMYKcmyk(24.1%, 70.1%, 0%, 65.9%)
CIE-LABlab(18.30, 30.81, -28.90)
CIE-LCHlch(18.30, 42.24, 316.84°)
OKLaboklab(30.91% 0.073 -0.0814)
OKLCHoklch(30.91% 0.109 311.9)
XYZxyz(4.3361, 2.5853, 9.2856)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421A57 #2F571A
analogous
#241A57 #421A57 #571A4E
triadic
#421A57 #57421A #1A5742
tetradic
#421A57 #57241A #2F571A #1A4E57
square
#421A57 #57241A #2F571A #1A4E57
split-complementary
#421A57 #4E571A #1A5724
monochromatic
#120718 #1E0C28 #421A57 #662886 #8936B5

Accessibility & contrast

On white

13.84
#421A57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#421A57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421A57
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421A57#FFFFFF#000000##FFFFFF
##421A571.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B59
Deuteranopia (green-blind)
#142D56
Tritanopia (blue-blind)
#402636
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #421a57;
/* rgb */ color: rgb(66, 26, 87);
/* oklch */ color: oklch(30.9% 0.109 311.9);
Tailwind
colors: {
  custom: {
    50: '#795a87',
    500: '#421a57',
    950: '#000000',
  },
}
SCSS
$custom: #421a57;
$custom-light: #795a87;
$custom-dark: #000000;
JSON
{
  "hex": "#421a57",
  "rgb": {
    "r": 66,
    "g": 26,
    "b": 87
  },
  "hsl": {
    "h": 279.344,
    "s": 53.982,
    "l": 22.157
  },
  "oklch": {
    "l": 0.30907,
    "c": 0.10935,
    "h": 311.9
  },
  "luminance": 0.02585
}

Semantic roles & 50–950 ramp

primary
#421A57
secondary
#5A8D40
accent
#DD4A7D
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040B
muted
#7B797C

Preview Lab

Preview with #421A57

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

Preview Lab → · Contrast checker → · Palette generator →

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