#421F5C#421F5C

#421F5C is a dark, moderate violet. Relative luminance 0.029; OKLCH L 32.0% C 0.107 H 307.9°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#421F5C
RGBrgb(66, 31, 92)
HSLhsl(274, 50%, 24%)
HSVhsv(274, 66%, 36%)
CMYKcmyk(28.3%, 66.3%, 0%, 63.9%)
CIE-LABlab(19.68, 29.30, -30.01)
CIE-LCHlch(19.68, 41.94, 314.31°)
OKLaboklab(32.02% 0.0659 -0.0847)
OKLCHoklch(32.02% 0.107 307.9)
XYZxyz(4.6681, 2.9110, 10.4391)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421F5C #395C1F
analogous
#241F5C #421F5C #5C1F58
triadic
#421F5C #5C421F #1F5C42
tetradic
#421F5C #5C241F #395C1F #1F585C
square
#421F5C #5C241F #395C1F #1F585C
split-complementary
#421F5C #585C1F #1F5C24
monochromatic
#100817 #21102E #421F5C #632E8A #843EB8

Accessibility & contrast

On white

13.27
#421F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#421F5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421F5C
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421F5C#FFFFFF#000000##FFFFFF
##421F5C1.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032E5E
Deuteranopia (green-blind)
#15305B
Tritanopia (blue-blind)
#3E2B3A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #421f5c;
/* rgb */ color: rgb(66, 31, 92);
/* oklch */ color: oklch(32.0% 0.107 307.9);
Tailwind
colors: {
  custom: {
    50: '#795d8a',
    500: '#421f5c',
    950: '#000000',
  },
}
SCSS
$custom: #421f5c;
$custom-light: #795d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#421f5c",
  "rgb": {
    "r": 66,
    "g": 31,
    "b": 92
  },
  "hsl": {
    "h": 274.426,
    "s": 49.593,
    "l": 24.118
  },
  "oklch": {
    "l": 0.32023,
    "c": 0.10734,
    "h": 307.9
  },
  "luminance": 0.02911
}

Semantic roles & 50–950 ramp

primary
#421F5C
secondary
#669146
accent
#D94F8A
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #421F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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