#421B59#421B59

#421B59 is a dark, moderate violet. Relative luminance 0.027; OKLCH L 31.2% C 0.110 H 310.5°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#421B59
RGBrgb(66, 27, 89)
HSLhsl(278, 53%, 23%)
HSVhsv(278, 70%, 35%)
CMYKcmyk(25.8%, 69.7%, 0%, 65.1%)
CIE-LABlab(18.64, 30.77, -29.69)
CIE-LCHlch(18.64, 42.76, 316.03°)
OKLaboklab(31.2% 0.0715 -0.0837)
OKLCHoklch(31.2% 0.11 310.5)
XYZxyz(4.4415, 2.6635, 9.7294)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421B59 #32591B
analogous
#231B59 #421B59 #591B51
triadic
#421B59 #59421B #1B5942
tetradic
#421B59 #59231B #32591B #1B5159
square
#421B59 #59231B #32591B #1B5159
split-complementary
#421B59 #51591B #1B5923
monochromatic
#110717 #1F0D2A #421B59 #652988 #8837B7

Accessibility & contrast

On white

13.70
#421B59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#421B59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421B59
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421B59#FFFFFF#000000##FFFFFF
##421B591.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #421b59;
/* rgb */ color: rgb(66, 27, 89);
/* oklch */ color: oklch(31.2% 0.110 310.5);
Tailwind
colors: {
  custom: {
    50: '#795a88',
    500: '#421b59',
    950: '#000000',
  },
}
SCSS
$custom: #421b59;
$custom-light: #795a88;
$custom-dark: #000000;
JSON
{
  "hex": "#421b59",
  "rgb": {
    "r": 66,
    "g": 27,
    "b": 89
  },
  "hsl": {
    "h": 277.742,
    "s": 53.448,
    "l": 22.745
  },
  "oklch": {
    "l": 0.31201,
    "c": 0.11014,
    "h": 310.5
  },
  "luminance": 0.02663
}

Semantic roles & 50–950 ramp

primary
#421B59
secondary
#5E8F41
accent
#DD4B81
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040B
muted
#7B797C

Preview Lab

Preview with #421B59

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

Preview Lab → · Contrast checker → · Palette generator →

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