#421E5A#421E5A

#421E5A is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.7% C 0.106 H 309.2°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#421E5A
RGBrgb(66, 30, 90)
HSLhsl(276, 50%, 24%)
HSVhsv(276, 67%, 35%)
CMYKcmyk(26.7%, 66.7%, 0%, 64.7%)
CIE-LABlab(19.33, 29.35, -29.25)
CIE-LCHlch(19.33, 41.44, 315.10°)
OKLaboklab(31.72% 0.0674 -0.0825)
OKLCHoklch(31.72% 0.107 309.2)
XYZxyz(4.5561, 2.8251, 9.9762)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E5A #365A1E
analogous
#241E5A #421E5A #5A1E54
triadic
#421E5A #5A421E #1E5A42
tetradic
#421E5A #5A241E #365A1E #1E545A
square
#421E5A #5A241E #365A1E #1E545A
split-complementary
#421E5A #545A1E #1E5A24
monochromatic
#110817 #200F2C #421E5A #642D88 #853DB6

Accessibility & contrast

On white

13.42
#421E5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#421E5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421E5A
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E5A#FFFFFF#000000##FFFFFF
##421E5A1.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032D5C
Deuteranopia (green-blind)
#162F59
Tritanopia (blue-blind)
#3F2A39
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #421e5a;
/* rgb */ color: rgb(66, 30, 90);
/* oklch */ color: oklch(31.7% 0.106 309.2);
Tailwind
colors: {
  custom: {
    50: '#795c89',
    500: '#421e5a',
    950: '#000000',
  },
}
SCSS
$custom: #421e5a;
$custom-light: #795c89;
$custom-dark: #000000;
JSON
{
  "hex": "#421e5a",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 90
  },
  "hsl": {
    "h": 276,
    "s": 50,
    "l": 23.529
  },
  "oklch": {
    "l": 0.3172,
    "c": 0.1065,
    "h": 309.2
  },
  "luminance": 0.02825
}

Semantic roles & 50–950 ramp

primary
#421E5A
secondary
#628F45
accent
#DA4E86
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040B
muted
#7B797C

Preview Lab

Preview with #421E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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