#421F5A#421F5A

#421F5A is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.9% C 0.105 H 309.0°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#421F5A
RGBrgb(66, 31, 90)
HSLhsl(276, 49%, 24%)
HSVhsv(276, 66%, 35%)
CMYKcmyk(26.7%, 65.6%, 0%, 64.7%)
CIE-LABlab(19.54, 28.77, -28.91)
CIE-LCHlch(19.54, 40.79, 314.86°)
OKLaboklab(31.87% 0.066 -0.0815)
OKLCHoklch(31.87% 0.105 309)
XYZxyz(4.5819, 2.8765, 9.9847)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421F5A #375A1F
analogous
#241F5A #421F5A #5A1F54
triadic
#421F5A #5A421F #1F5A42
tetradic
#421F5A #5A241F #375A1F #1F545A
square
#421F5A #5A241F #375A1F #1F545A
split-complementary
#421F5A #545A1F #1F5A24
monochromatic
#110817 #210F2C #421F5A #632F88 #853EB5

Accessibility & contrast

On white

13.33
#421F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421F5A
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421F5A#FFFFFF#000000##FFFFFF
##421F5A1.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062E5C
Deuteranopia (green-blind)
#173059
Tritanopia (blue-blind)
#3F2A39
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #421f5a;
/* rgb */ color: rgb(66, 31, 90);
/* oklch */ color: oklch(31.9% 0.105 309.0);
Tailwind
colors: {
  custom: {
    50: '#795d89',
    500: '#421f5a',
    950: '#000000',
  },
}
SCSS
$custom: #421f5a;
$custom-light: #795d89;
$custom-dark: #000000;
JSON
{
  "hex": "#421f5a",
  "rgb": {
    "r": 66,
    "g": 31,
    "b": 90
  },
  "hsl": {
    "h": 275.593,
    "s": 48.76,
    "l": 23.725
  },
  "oklch": {
    "l": 0.31875,
    "c": 0.10485,
    "h": 309
  },
  "luminance": 0.02876
}

Semantic roles & 50–950 ramp

primary
#421F5A
secondary
#648F46
accent
#D84F87
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040B
muted
#7B797C

Preview Lab

Preview with #421F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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