#421C5A#421C5A

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

Color values

HEX#421C5A
RGBrgb(66, 28, 90)
HSLhsl(277, 53%, 23%)
HSVhsv(277, 69%, 35%)
CMYKcmyk(26.7%, 68.9%, 0%, 64.7%)
CIE-LABlab(18.92, 30.48, -29.91)
CIE-LCHlch(18.92, 42.71, 315.53°)
OKLaboklab(31.42% 0.0701 -0.0844)
OKLCHoklch(31.42% 0.11 309.7)
XYZxyz(4.5071, 2.7270, 9.9598)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C5A #345A1C
analogous
#231C5A #421C5A #5A1C53
triadic
#421C5A #5A421C #1C5A42
tetradic
#421C5A #5A231C #345A1C #1C535A
square
#421C5A #5A231C #345A1C #1C535A
split-complementary
#421C5A #535A1C #1C5A23
monochromatic
#110717 #200D2B #421C5A #642B89 #8639B7

Accessibility & contrast

On white

13.59
#421C5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#421C5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421C5A
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421C5A#FFFFFF#000000##FFFFFF
##421C5A1.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5C
Deuteranopia (green-blind)
#132F59
Tritanopia (blue-blind)
#3F2838
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #421c5a;
/* rgb */ color: rgb(66, 28, 90);
/* oklch */ color: oklch(31.4% 0.110 309.7);
Tailwind
colors: {
  custom: {
    50: '#795b89',
    500: '#421c5a',
    950: '#000000',
  },
}
SCSS
$custom: #421c5a;
$custom-light: #795b89;
$custom-dark: #000000;
JSON
{
  "hex": "#421c5a",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 90
  },
  "hsl": {
    "h": 276.774,
    "s": 52.542,
    "l": 23.137
  },
  "oklch": {
    "l": 0.31421,
    "c": 0.10975,
    "h": 309.7
  },
  "luminance": 0.02727
}

Semantic roles & 50–950 ramp

primary
#421C5A
secondary
#608F42
accent
#DC4C84
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040B
muted
#7B797C

Preview Lab

Preview with #421C5A

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

Preview Lab → · Contrast checker → · Palette generator →

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