#421FA7#421FA7

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

Color values

HEX#421FA7
RGBrgb(66, 31, 167)
HSLhsl(255, 69%, 39%)
HSVhsv(255, 81%, 65%)
CMYKcmyk(60.5%, 81.4%, 0%, 34.5%)
CIE-LABlab(26.53, 50.43, -66.23)
CIE-LCHlch(26.53, 83.24, 307.29°)
OKLaboklab(38.95% 0.0487 -0.1909)
OKLCHoklch(38.95% 0.197 284.3)
XYZxyz(9.7097, 4.9276, 36.9912)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421FA7 #84A71F
analogous
#1F40A7 #421FA7 #861FA7
triadic
#421FA7 #A7421F #1FA742
tetradic
#421FA7 #A71F40 #84A71F #1FA786
square
#421FA7 #A71F40 #84A71F #1FA786
split-complementary
#421FA7 #A7861F #40A71F
monochromatic
#190C40 #2E1573 #421FA7 #582BD8 #815FE1

Accessibility & contrast

On white

10.58
#421FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#421FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421FA7
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421FA7#FFFFFF#000000##FFFFFF
##421FA71.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AB
Deuteranopia (green-blind)
#003AA5
Tritanopia (blue-blind)
#004864
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #421fa7;
/* rgb */ color: rgb(66, 31, 167);
/* oklch */ color: oklch(39.0% 0.197 284.3);
Tailwind
colors: {
  custom: {
    50: '#8461c2',
    500: '#421fa7',
    950: '#000000',
  },
}
SCSS
$custom: #421fa7;
$custom-light: #8461c2;
$custom-dark: #000000;
JSON
{
  "hex": "#421fa7",
  "rgb": {
    "r": 66,
    "g": 31,
    "b": 167
  },
  "hsl": {
    "h": 255.441,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38953,
    "c": 0.19702,
    "h": 284.3
  },
  "luminance": 0.04928
}

Semantic roles & 50–950 ramp

primary
#421FA7
secondary
#ABC65C
accent
#EC3CBE
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #421FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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