#421E7A#421E7A

#421E7A is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.4% C 0.146 H 295.5°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#421E7A
RGBrgb(66, 30, 122)
HSLhsl(263, 61%, 30%)
HSVhsv(263, 75%, 48%)
CMYKcmyk(45.9%, 75.4%, 0%, 52.2%)
CIE-LABlab(21.91, 38.10, -45.91)
CIE-LCHlch(21.91, 59.66, 309.69°)
OKLaboklab(34.39% 0.0628 -0.1314)
OKLCHoklch(34.39% 0.146 295.5)
XYZxyz(6.2230, 3.4918, 18.7547)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E7A #567A1E
analogous
#1E287A #421E7A #701E7A
triadic
#421E7A #7A421E #1E7A42
tetradic
#421E7A #7A1E28 #567A1E #1E7A70
square
#421E7A #7A1E28 #567A1E #1E7A70
split-complementary
#421E7A #7A701E #287A1E
monochromatic
#0D0619 #271249 #421E7A #5D2AAB #7A42D0

Accessibility & contrast

On white

12.36
#421E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#421E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421E7A
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E7A#FFFFFF#000000##FFFFFF
##421E7A1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357D
Deuteranopia (green-blind)
#003378
Tritanopia (blue-blind)
#33364A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #421e7a;
/* rgb */ color: rgb(66, 30, 122);
/* oklch */ color: oklch(34.4% 0.146 295.5);
Tailwind
colors: {
  custom: {
    50: '#7c5da1',
    500: '#421e7a',
    950: '#000000',
  },
}
SCSS
$custom: #421e7a;
$custom-light: #7c5da1;
$custom-dark: #000000;
JSON
{
  "hex": "#421e7a",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 122
  },
  "hsl": {
    "h": 263.478,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34385,
    "c": 0.14566,
    "h": 295.5
  },
  "luminance": 0.03492
}

Semantic roles & 50–950 ramp

primary
#421E7A
secondary
#85AE46
accent
#E444A5
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #421E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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