#421FA6#421FA6

#421FA6 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.8% C 0.196 H 284.5°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#421FA6
RGBrgb(66, 31, 166)
HSLhsl(256, 69%, 39%)
HSVhsv(256, 81%, 65%)
CMYKcmyk(60.2%, 81.3%, 0%, 34.9%)
CIE-LABlab(26.42, 50.14, -65.80)
CIE-LCHlch(26.42, 82.73, 307.31°)
OKLaboklab(38.85% 0.049 -0.1897)
OKLCHoklch(38.85% 0.196 284.5)
XYZxyz(9.6176, 4.8908, 36.5062)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421FA6 #83A61F
analogous
#1F3FA6 #421FA6 #851FA6
triadic
#421FA6 #A6421F #1FA642
tetradic
#421FA6 #A61F3F #83A61F #1FA685
square
#421FA6 #A61F3F #83A61F #1FA685
split-complementary
#421FA6 #A6851F #3FA61F
monochromatic
#190C3F #2D1572 #421FA6 #582BD7 #805EE1

Accessibility & contrast

On white

10.62
#421FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421FA6
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421FA6#FFFFFF#000000##FFFFFF
##421FA61.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AA
Deuteranopia (green-blind)
#003AA4
Tritanopia (blue-blind)
#004863
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #421fa6;
/* rgb */ color: rgb(66, 31, 166);
/* oklch */ color: oklch(38.8% 0.196 284.5);
Tailwind
colors: {
  custom: {
    50: '#8360c2',
    500: '#421fa6',
    950: '#000000',
  },
}
SCSS
$custom: #421fa6;
$custom-light: #8360c2;
$custom-dark: #000000;
JSON
{
  "hex": "#421fa6",
  "rgb": {
    "r": 66,
    "g": 31,
    "b": 166
  },
  "hsl": {
    "h": 255.556,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38848,
    "c": 0.1959,
    "h": 284.5
  },
  "luminance": 0.04891
}

Semantic roles & 50–950 ramp

primary
#421FA6
secondary
#AAC55B
accent
#EB3CBE
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #421FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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