#421E55#421E55

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

Color values

HEX#421E55
RGBrgb(66, 30, 85)
HSLhsl(279, 48%, 23%)
HSVhsv(279, 65%, 33%)
CMYKcmyk(22.4%, 64.7%, 0%, 66.7%)
CIE-LABlab(18.98, 28.07, -26.46)
CIE-LCHlch(18.98, 38.57, 316.69°)
OKLaboklab(31.36% 0.0674 -0.0743)
OKLCHoklch(31.36% 0.1 312.2)
XYZxyz(4.3504, 2.7428, 8.8928)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E55 #31551E
analogous
#271E55 #421E55 #551E4C
triadic
#421E55 #55421E #1E5542
tetradic
#421E55 #55271E #31551E #1E4C55
square
#421E55 #55271E #31551E #1E4C55
split-complementary
#421E55 #4C551E #1E5527
monochromatic
#120817 #1F0E28 #421E55 #652E82 #883EAF

Accessibility & contrast

On white

13.56
#421E55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421E55
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E55#FFFFFF#000000##FFFFFF
##421E551.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2C57
Deuteranopia (green-blind)
#1A2F54
Tritanopia (blue-blind)
#402836
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #421e55;
/* rgb */ color: rgb(66, 30, 85);
/* oklch */ color: oklch(31.4% 0.100 312.2);
Tailwind
colors: {
  custom: {
    50: '#785c85',
    500: '#421e55',
    950: '#000000',
  },
}
SCSS
$custom: #421e55;
$custom-light: #785c85;
$custom-dark: #000000;
JSON
{
  "hex": "#421e55",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 85
  },
  "hsl": {
    "h": 279.273,
    "s": 47.826,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31357,
    "c": 0.10034,
    "h": 312.2
  },
  "luminance": 0.02743
}

Semantic roles & 50–950 ramp

primary
#421E55
secondary
#5D8A45
accent
#D7507F
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040B
muted
#7B797C

Preview Lab

Preview with #421E55

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

Preview Lab → · Contrast checker → · Palette generator →

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