#421EA8#421EA8

#421EA8 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 39.0% C 0.199 H 284.2°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#421EA8
RGBrgb(66, 30, 168)
HSLhsl(256, 70%, 39%)
HSVhsv(256, 82%, 66%)
CMYKcmyk(60.7%, 82.1%, 0%, 34.1%)
CIE-LABlab(26.49, 51.14, -66.90)
CIE-LCHlch(26.49, 84.21, 307.40°)
OKLaboklab(38.96% 0.0489 -0.1929)
OKLCHoklch(38.96% 0.199 284.2)
XYZxyz(9.7768, 4.9133, 37.4714)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421EA8 #84A81E
analogous
#1E3FA8 #421EA8 #871EA8
triadic
#421EA8 #A8421E #1EA842
tetradic
#421EA8 #A81E3F #84A81E #1EA887
square
#421EA8 #A81E3F #84A81E #1EA887
split-complementary
#421EA8 #A8871E #3FA81E
monochromatic
#190B40 #2E1574 #421EA8 #582AD9 #815EE2

Accessibility & contrast

On white

10.59
#421EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#421EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421EA8
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421EA8#FFFFFF#000000##FFFFFF
##421EA81.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AC
Deuteranopia (green-blind)
#003AA6
Tritanopia (blue-blind)
#004864
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #421ea8;
/* rgb */ color: rgb(66, 30, 168);
/* oklch */ color: oklch(39.0% 0.199 284.2);
Tailwind
colors: {
  custom: {
    50: '#8460c3',
    500: '#421ea8',
    950: '#000000',
  },
}
SCSS
$custom: #421ea8;
$custom-light: #8460c3;
$custom-dark: #000000;
JSON
{
  "hex": "#421ea8",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 168
  },
  "hsl": {
    "h": 255.652,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38956,
    "c": 0.19897,
    "h": 284.2
  },
  "luminance": 0.04914
}

Semantic roles & 50–950 ramp

primary
#421EA8
secondary
#ABC75B
accent
#ED3BBE
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #421EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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