#421F55#421F55

#421F55 is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.5% C 0.099 H 312.0°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#421F55
RGBrgb(66, 31, 85)
HSLhsl(279, 47%, 23%)
HSVhsv(279, 64%, 33%)
CMYKcmyk(22.4%, 63.5%, 0%, 66.7%)
CIE-LABlab(19.20, 27.48, -26.11)
CIE-LCHlch(19.20, 37.91, 316.47°)
OKLaboklab(31.52% 0.066 -0.0733)
OKLCHoklch(31.52% 0.099 312)
XYZxyz(4.3762, 2.7942, 8.9014)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421F55 #32551F
analogous
#271F55 #421F55 #551F4D
triadic
#421F55 #55421F #1F5542
tetradic
#421F55 #55271F #32551F #1F4D55
square
#421F55 #55271F #32551F #1F4D55
split-complementary
#421F55 #4D551F #1F5527
monochromatic
#110816 #1F0F28 #421F55 #652F82 #8840AF

Accessibility & contrast

On white

13.47
#421F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421F55
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421F55#FFFFFF#000000##FFFFFF
##421F551.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2D57
Deuteranopia (green-blind)
#1B2F54
Tritanopia (blue-blind)
#402936
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #421f55;
/* rgb */ color: rgb(66, 31, 85);
/* oklch */ color: oklch(31.5% 0.099 312.0);
Tailwind
colors: {
  custom: {
    50: '#785d85',
    500: '#421f55',
    950: '#000000',
  },
}
SCSS
$custom: #421f55;
$custom-light: #785d85;
$custom-dark: #000000;
JSON
{
  "hex": "#421f55",
  "rgb": {
    "r": 66,
    "g": 31,
    "b": 85
  },
  "hsl": {
    "h": 278.889,
    "s": 46.552,
    "l": 22.745
  },
  "oklch": {
    "l": 0.31516,
    "c": 0.0986,
    "h": 312
  },
  "luminance": 0.02794
}

Semantic roles & 50–950 ramp

primary
#421F55
secondary
#5E8A46
accent
#D65280
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040B
muted
#7B797C

Preview Lab

Preview with #421F55

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

Preview Lab → · Contrast checker → · Palette generator →

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