#421C59#421C59

#421C59 is a dark, moderate violet. Relative luminance 0.027; OKLCH L 31.3% C 0.109 H 310.3°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#421C59
RGBrgb(66, 28, 89)
HSLhsl(277, 52%, 23%)
HSVhsv(277, 69%, 35%)
CMYKcmyk(25.8%, 68.5%, 0%, 65.1%)
CIE-LABlab(18.84, 30.22, -29.36)
CIE-LCHlch(18.84, 42.14, 315.83°)
OKLaboklab(31.35% 0.0702 -0.0828)
OKLCHoklch(31.35% 0.109 310.3)
XYZxyz(4.4648, 2.7101, 9.7372)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C59 #33591C
analogous
#231C59 #421C59 #591C51
triadic
#421C59 #59421C #1C5942
tetradic
#421C59 #59231C #33591C #1C5159
square
#421C59 #59231C #33591C #1C5159
split-complementary
#421C59 #51591C #1C5923
monochromatic
#110717 #1F0D2A #421C59 #652B88 #8739B6

Accessibility & contrast

On white

13.62
#421C59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#421C59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421C59
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421C59#FFFFFF#000000##FFFFFF
##421C591.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5B
Deuteranopia (green-blind)
#142E58
Tritanopia (blue-blind)
#3F2837
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #421c59;
/* rgb */ color: rgb(66, 28, 89);
/* oklch */ color: oklch(31.3% 0.109 310.3);
Tailwind
colors: {
  custom: {
    50: '#795b88',
    500: '#421c59',
    950: '#000000',
  },
}
SCSS
$custom: #421c59;
$custom-light: #795b88;
$custom-dark: #000000;
JSON
{
  "hex": "#421c59",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 89
  },
  "hsl": {
    "h": 277.377,
    "s": 52.137,
    "l": 22.941
  },
  "oklch": {
    "l": 0.31346,
    "c": 0.10854,
    "h": 310.3
  },
  "luminance": 0.0271
}

Semantic roles & 50–950 ramp

primary
#421C59
secondary
#5F8F42
accent
#DC4C82
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040B
muted
#7B797C

Preview Lab

Preview with #421C59

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

Preview Lab → · Contrast checker → · Palette generator →

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