#421A59#421A59

#421A59 is a dark, moderate violet. Relative luminance 0.026; OKLCH L 31.1% C 0.112 H 310.7°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#421A59
RGBrgb(66, 26, 89)
HSLhsl(278, 55%, 23%)
HSVhsv(278, 71%, 35%)
CMYKcmyk(25.8%, 70.8%, 0%, 65.1%)
CIE-LABlab(18.45, 31.32, -30.00)
CIE-LCHlch(18.45, 43.37, 316.23°)
OKLaboklab(31.06% 0.0729 -0.0847)
OKLCHoklch(31.06% 0.112 310.7)
XYZxyz(4.4190, 2.6184, 9.7219)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421A59 #31591A
analogous
#221A59 #421A59 #591A51
triadic
#421A59 #59421A #1A5942
tetradic
#421A59 #59221A #31591A #1A5159
square
#421A59 #59221A #31591A #1A5159
split-complementary
#421A59 #51591A #1A5922
monochromatic
#120718 #1F0C2A #421A59 #652888 #8836B8

Accessibility & contrast

On white

13.78
#421A59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421A59
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421A59#FFFFFF#000000##FFFFFF
##421A591.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5B
Deuteranopia (green-blind)
#122E58
Tritanopia (blue-blind)
#3F2737
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #421a59;
/* rgb */ color: rgb(66, 26, 89);
/* oklch */ color: oklch(31.1% 0.112 310.7);
Tailwind
colors: {
  custom: {
    50: '#795a88',
    500: '#421a59',
    950: '#000000',
  },
}
SCSS
$custom: #421a59;
$custom-light: #795a88;
$custom-dark: #000000;
JSON
{
  "hex": "#421a59",
  "rgb": {
    "r": 66,
    "g": 26,
    "b": 89
  },
  "hsl": {
    "h": 278.095,
    "s": 54.783,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31059,
    "c": 0.1117,
    "h": 310.7
  },
  "luminance": 0.02618
}

Semantic roles & 50–950 ramp

primary
#421A59
secondary
#5D8F40
accent
#DE4A80
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040B
muted
#7B797C

Preview Lab

Preview with #421A59

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

Preview Lab → · Contrast checker → · Palette generator →

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