#421D5A#421D5A

#421D5A is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.6% C 0.108 H 309.5°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#421D5A
RGBrgb(66, 29, 90)
HSLhsl(276, 51%, 23%)
HSVhsv(276, 68%, 35%)
CMYKcmyk(26.7%, 67.8%, 0%, 64.7%)
CIE-LABlab(19.12, 29.92, -29.59)
CIE-LCHlch(19.12, 42.08, 315.32°)
OKLaboklab(31.57% 0.0688 -0.0835)
OKLCHoklch(31.57% 0.108 309.5)
XYZxyz(4.5312, 2.7752, 9.9679)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421D5A #355A1D
analogous
#231D5A #421D5A #5A1D53
triadic
#421D5A #5A421D #1D5A42
tetradic
#421D5A #5A231D #355A1D #1D535A
square
#421D5A #5A231D #355A1D #1D535A
split-complementary
#421D5A #535A1D #1D5A23
monochromatic
#110717 #200E2C #421D5A #642C88 #863BB7

Accessibility & contrast

On white

13.50
#421D5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#421D5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421D5A
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421D5A#FFFFFF#000000##FFFFFF
##421D5A1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012D5C
Deuteranopia (green-blind)
#152F59
Tritanopia (blue-blind)
#3F2938
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #421d5a;
/* rgb */ color: rgb(66, 29, 90);
/* oklch */ color: oklch(31.6% 0.108 309.5);
Tailwind
colors: {
  custom: {
    50: '#795b89',
    500: '#421d5a',
    950: '#000000',
  },
}
SCSS
$custom: #421d5a;
$custom-light: #795b89;
$custom-dark: #000000;
JSON
{
  "hex": "#421d5a",
  "rgb": {
    "r": 66,
    "g": 29,
    "b": 90
  },
  "hsl": {
    "h": 276.393,
    "s": 51.261,
    "l": 23.333
  },
  "oklch": {
    "l": 0.31569,
    "c": 0.10814,
    "h": 309.5
  },
  "luminance": 0.02775
}

Semantic roles & 50–950 ramp

primary
#421D5A
secondary
#618F44
accent
#DB4D85
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040B
muted
#7B797C

Preview Lab

Preview with #421D5A

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

Preview Lab → · Contrast checker → · Palette generator →

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