#421E8E#421E8E

#421E8E is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.169 H 289.8°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#421E8E
RGBrgb(66, 30, 142)
HSLhsl(259, 65%, 34%)
HSVhsv(259, 79%, 56%)
CMYKcmyk(53.5%, 78.9%, 0%, 44.3%)
CIE-LABlab(23.80, 43.77, -55.40)
CIE-LCHlch(23.80, 70.61, 308.31°)
OKLaboklab(36.29% 0.0574 -0.1593)
OKLCHoklch(36.29% 0.169 289.8)
XYZxyz(7.5921, 4.0395, 25.9656)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E8E #6A8E1E
analogous
#1E328E #421E8E #7A1E8E
triadic
#421E8E #8E421E #1E8E42
tetradic
#421E8E #8E1E32 #6A8E1E #1E8E7A
square
#421E8E #8E1E32 #6A8E1E #1E8E7A
split-complementary
#421E8E #8E7A1E #328E1E
monochromatic
#130929 #2B135B #421E8E #5929C1 #7A4DD9

Accessibility & contrast

On white

11.62
#421E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#421E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421E8E
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E8E#FFFFFF#000000##FFFFFF
##421E8E1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#00368C
Tritanopia (blue-blind)
#263E55
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #421e8e;
/* rgb */ color: rgb(66, 30, 142);
/* oklch */ color: oklch(36.3% 0.169 289.8);
Tailwind
colors: {
  custom: {
    50: '#7f5eb0',
    500: '#421e8e',
    950: '#000000',
  },
}
SCSS
$custom: #421e8e;
$custom-light: #7f5eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#421e8e",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 142
  },
  "hsl": {
    "h": 259.286,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36289,
    "c": 0.16927,
    "h": 289.8
  },
  "luminance": 0.0404
}

Semantic roles & 50–950 ramp

primary
#421E8E
secondary
#98BC4C
accent
#E840B2
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #421E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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