#421FAE#421FAE

#421FAE is a dark, highly saturated violet. Relative luminance 0.052; OKLCH L 39.7% C 0.205 H 283.1°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#421FAE
RGBrgb(66, 31, 174)
HSLhsl(255, 70%, 40%)
HSVhsv(255, 82%, 68%)
CMYKcmyk(62.1%, 82.2%, 0%, 31.8%)
CIE-LABlab(27.28, 52.40, -69.21)
CIE-LCHlch(27.28, 86.81, 307.13°)
OKLaboklab(39.69% 0.0464 -0.1996)
OKLCHoklch(39.69% 0.205 283.1)
XYZxyz(10.3744, 5.1935, 40.4919)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421FAE #8BAE1F
analogous
#1F44AE #421FAE #891FAE
triadic
#421FAE #AE421F #1FAE42
tetradic
#421FAE #AE1F44 #8BAE1F #1FAE89
square
#421FAE #AE1F44 #8BAE1F #1FAE89
split-complementary
#421FAE #AE891F #44AE1F
monochromatic
#1B0C46 #2E167A #421FAE #5A30DA #8364E3

Accessibility & contrast

On white

10.30
#421FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#421FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421FAE
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421FAE#FFFFFF#000000##FFFFFF
##421FAE1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B2
Deuteranopia (green-blind)
#003CAC
Tritanopia (blue-blind)
#004B68
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #421fae;
/* rgb */ color: rgb(66, 31, 174);
/* oklch */ color: oklch(39.7% 0.205 283.1);
Tailwind
colors: {
  custom: {
    50: '#8561c8',
    500: '#421fae',
    950: '#000000',
  },
}
SCSS
$custom: #421fae;
$custom-light: #8561c8;
$custom-dark: #000000;
JSON
{
  "hex": "#421fae",
  "rgb": {
    "r": 66,
    "g": 31,
    "b": 174
  },
  "hsl": {
    "h": 254.685,
    "s": 69.756,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39694,
    "c": 0.20489,
    "h": 283.1
  },
  "luminance": 0.05194
}

Semantic roles & 50–950 ramp

primary
#421FAE
secondary
#AFC860
accent
#ED3BC1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #421FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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