#421E56#421E56

#421E56 is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.4% C 0.102 H 311.6°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#421E56
RGBrgb(66, 30, 86)
HSLhsl(279, 48%, 23%)
HSVhsv(279, 65%, 34%)
CMYKcmyk(23.3%, 65.1%, 0%, 66.3%)
CIE-LABlab(19.05, 28.32, -27.02)
CIE-LCHlch(19.05, 39.14, 316.34°)
OKLaboklab(31.43% 0.0674 -0.0759)
OKLCHoklch(31.43% 0.102 311.6)
XYZxyz(4.3904, 2.7588, 9.1035)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E56 #32561E
analogous
#261E56 #421E56 #561E4E
triadic
#421E56 #56421E #1E5642
tetradic
#421E56 #56261E #32561E #1E4E56
square
#421E56 #56261E #32561E #1E4E56
split-complementary
#421E56 #4E561E #1E5626
monochromatic
#110817 #1F0E29 #421E56 #652E83 #883EB1

Accessibility & contrast

On white

13.53
#421E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421E56
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E56#FFFFFF#000000##FFFFFF
##421E561.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2C58
Deuteranopia (green-blind)
#192F55
Tritanopia (blue-blind)
#402836
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #421e56;
/* rgb */ color: rgb(66, 30, 86);
/* oklch */ color: oklch(31.4% 0.102 311.6);
Tailwind
colors: {
  custom: {
    50: '#785c86',
    500: '#421e56',
    950: '#000000',
  },
}
SCSS
$custom: #421e56;
$custom-light: #785c86;
$custom-dark: #000000;
JSON
{
  "hex": "#421e56",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 86
  },
  "hsl": {
    "h": 278.571,
    "s": 48.276,
    "l": 22.745
  },
  "oklch": {
    "l": 0.31429,
    "c": 0.10157,
    "h": 311.6
  },
  "luminance": 0.02759
}

Semantic roles & 50–950 ramp

primary
#421E56
secondary
#5E8B45
accent
#D85080
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040B
muted
#7B797C

Preview Lab

Preview with #421E56

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

Preview Lab → · Contrast checker → · Palette generator →

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