#421E9E#421E9E

#421E9E is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.188 H 286.2°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#421E9E
RGBrgb(66, 30, 158)
HSLhsl(257, 68%, 37%)
HSVhsv(257, 81%, 62%)
CMYKcmyk(58.2%, 81%, 0%, 38%)
CIE-LABlab(25.43, 48.32, -62.58)
CIE-LCHlch(25.43, 79.06, 307.67°)
OKLaboklab(37.91% 0.0523 -0.1802)
OKLCHoklch(37.91% 0.188 286.2)
XYZxyz(8.8807, 4.5549, 32.7523)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E9E #7A9E1E
analogous
#1E3A9E #421E9E #821E9E
triadic
#421E9E #9E421E #1E9E42
tetradic
#421E9E #9E1E3A #7A9E1E #1E9E82
square
#421E9E #9E1E3A #7A9E1E #1E9E82
split-complementary
#421E9E #9E821E #3A9E1E
monochromatic
#170A37 #2D146B #421E9E #5728D1 #7D57DF

Accessibility & contrast

On white

10.99
#421E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#421E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421E9E
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E9E#FFFFFF#000000##FFFFFF
##421E9E1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA2
Deuteranopia (green-blind)
#00389C
Tritanopia (blue-blind)
#12445E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #421e9e;
/* rgb */ color: rgb(66, 30, 158);
/* oklch */ color: oklch(37.9% 0.188 286.2);
Tailwind
colors: {
  custom: {
    50: '#825fbc',
    500: '#421e9e',
    950: '#000000',
  },
}
SCSS
$custom: #421e9e;
$custom-light: #825fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#421e9e",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 158
  },
  "hsl": {
    "h": 256.875,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37909,
    "c": 0.18768,
    "h": 286.2
  },
  "luminance": 0.04555
}

Semantic roles & 50–950 ramp

primary
#421E9E
secondary
#A4C355
accent
#EB3DBA
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #421E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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