#421E6A#421E6A

#421E6A is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.0% C 0.126 H 301.5°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#421E6A
RGBrgb(66, 30, 106)
HSLhsl(268, 56%, 27%)
HSVhsv(268, 72%, 42%)
CMYKcmyk(37.7%, 71.7%, 0%, 58.4%)
CIE-LABlab(20.55, 33.63, -37.83)
CIE-LCHlch(20.55, 50.62, 311.64°)
OKLaboklab(32.99% 0.0659 -0.1077)
OKLCHoklch(32.99% 0.126 301.5)
XYZxyz(5.3119, 3.1274, 13.9567)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E6A #466A1E
analogous
#1E206A #421E6A #681E6A
triadic
#421E6A #6A421E #1E6A42
tetradic
#421E6A #6A1E20 #466A1E #1E6A68
square
#421E6A #6A1E20 #466A1E #1E6A68
split-complementary
#421E6A #6A681E #206A1E
monochromatic
#0F0718 #24113A #421E6A #602C9A #7E3BC7

Accessibility & contrast

On white

12.92
#421E6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#421E6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421E6A
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E6A#FFFFFF#000000##FFFFFF
##421E6A1.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316C
Deuteranopia (green-blind)
#003168
Tritanopia (blue-blind)
#3A3041
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #421e6a;
/* rgb */ color: rgb(66, 30, 106);
/* oklch */ color: oklch(33.0% 0.126 301.5);
Tailwind
colors: {
  custom: {
    50: '#7a5d95',
    500: '#421e6a',
    950: '#000000',
  },
}
SCSS
$custom: #421e6a;
$custom-light: #7a5d95;
$custom-dark: #000000;
JSON
{
  "hex": "#421e6a",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 106
  },
  "hsl": {
    "h": 268.421,
    "s": 55.882,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32985,
    "c": 0.12624,
    "h": 301.5
  },
  "luminance": 0.03127
}

Semantic roles & 50–950 ramp

primary
#421E6A
secondary
#749E45
accent
#DF4998
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #421E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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