#421A5C#421A5C

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

Color values

HEX#421A5C
RGBrgb(66, 26, 92)
HSLhsl(276, 56%, 23%)
HSVhsv(276, 72%, 36%)
CMYKcmyk(28.3%, 71.7%, 0%, 63.9%)
CIE-LABlab(18.67, 32.08, -31.64)
CIE-LCHlch(18.67, 45.06, 315.39°)
OKLaboklab(31.29% 0.0726 -0.0895)
OKLCHoklch(31.29% 0.115 309.1)
XYZxyz(4.5475, 2.6698, 10.3989)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421A5C #345C1A
analogous
#211A5C #421A5C #5C1A55
triadic
#421A5C #5C421A #1A5C42
tetradic
#421A5C #5C211A #345C1A #1A555C
square
#421A5C #5C211A #345C1A #1A555C
split-complementary
#421A5C #555C1A #1A5C21
monochromatic
#110718 #200D2C #421A5C #64278C #8635BB

Accessibility & contrast

On white

13.69
#421A5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421A5C
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421A5C#FFFFFF#000000##FFFFFF
##421A5C1.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5E
Deuteranopia (green-blind)
#0E2E5B
Tritanopia (blue-blind)
#3E2838
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #421a5c;
/* rgb */ color: rgb(66, 26, 92);
/* oklch */ color: oklch(31.3% 0.115 309.1);
Tailwind
colors: {
  custom: {
    50: '#795a8b',
    500: '#421a5c',
    950: '#000000',
  },
}
SCSS
$custom: #421a5c;
$custom-light: #795a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#421a5c",
  "rgb": {
    "r": 66,
    "g": 26,
    "b": 92
  },
  "hsl": {
    "h": 276.364,
    "s": 55.932,
    "l": 23.137
  },
  "oklch": {
    "l": 0.31291,
    "c": 0.11523,
    "h": 309.1
  },
  "luminance": 0.0267
}

Semantic roles & 50–950 ramp

primary
#421A5C
secondary
#609240
accent
#DF4984
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #421A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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