#421FAD#421FAD

#421FAD is a dark, highly saturated violet. Relative luminance 0.052; OKLCH L 39.6% C 0.204 H 283.2°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#421FAD
RGBrgb(66, 31, 173)
HSLhsl(255, 70%, 40%)
HSVhsv(255, 82%, 68%)
CMYKcmyk(61.8%, 82.1%, 0%, 32.2%)
CIE-LABlab(27.17, 52.12, -68.78)
CIE-LCHlch(27.17, 86.30, 307.15°)
OKLaboklab(39.59% 0.0467 -0.1983)
OKLCHoklch(39.59% 0.204 283.2)
XYZxyz(10.2772, 5.1546, 39.9804)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421FAD #8AAD1F
analogous
#1F43AD #421FAD #891FAD
triadic
#421FAD #AD421F #1FAD42
tetradic
#421FAD #AD1F43 #8AAD1F #1FAD89
square
#421FAD #AD1F43 #8AAD1F #1FAD89
split-complementary
#421FAD #AD891F #43AD1F
monochromatic
#1A0C45 #2E1679 #421FAD #592FDA #8363E3

Accessibility & contrast

On white

10.34
#421FAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#421FAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421FAD
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421FAD#FFFFFF#000000##FFFFFF
##421FAD1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B1
Deuteranopia (green-blind)
#003BAB
Tritanopia (blue-blind)
#004B67
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #421fad;
/* rgb */ color: rgb(66, 31, 173);
/* oklch */ color: oklch(39.6% 0.204 283.2);
Tailwind
colors: {
  custom: {
    50: '#8561c7',
    500: '#421fad',
    950: '#000000',
  },
}
SCSS
$custom: #421fad;
$custom-light: #8561c7;
$custom-dark: #000000;
JSON
{
  "hex": "#421fad",
  "rgb": {
    "r": 66,
    "g": 31,
    "b": 173
  },
  "hsl": {
    "h": 254.789,
    "s": 69.608,
    "l": 40
  },
  "oklch": {
    "l": 0.39588,
    "c": 0.20377,
    "h": 283.2
  },
  "luminance": 0.05155
}

Semantic roles & 50–950 ramp

primary
#421FAD
secondary
#AEC860
accent
#EC3BC1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #421FAD

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

Preview Lab → · Contrast checker → · Palette generator →

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