#421A85#421A85

#421A85 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.163 H 292.9°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#421A85
RGBrgb(66, 26, 133)
HSLhsl(262, 67%, 31%)
HSVhsv(262, 80%, 52%)
CMYKcmyk(50.4%, 80.5%, 0%, 47.8%)
CIE-LABlab(22.27, 43.11, -52.29)
CIE-LCHlch(22.27, 67.77, 309.50°)
OKLaboklab(34.95% 0.0633 -0.1501)
OKLCHoklch(34.95% 0.163 292.9)
XYZxyz(6.8486, 3.5903, 22.5179)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421A85 #5D851A
analogous
#1A2785 #421A85 #771A85
triadic
#421A85 #85421A #1A8542
tetradic
#421A85 #851A27 #5D851A #1A8577
square
#421A85 #851A27 #5D851A #1A8577
split-complementary
#421A85 #85771A #27851A
monochromatic
#0F061F #291052 #421A85 #5B24B8 #7940DA

Accessibility & contrast

On white

12.22
#421A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#421A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421A85
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421A85#FFFFFF#000000##FFFFFF
##421A851.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#003383
Tritanopia (blue-blind)
#2C384F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #421a85;
/* rgb */ color: rgb(66, 26, 133);
/* oklch */ color: oklch(34.9% 0.163 292.9);
Tailwind
colors: {
  custom: {
    50: '#7e5ca9',
    500: '#421a85',
    950: '#000000',
  },
}
SCSS
$custom: #421a85;
$custom-light: #7e5ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#421a85",
  "rgb": {
    "r": 66,
    "g": 26,
    "b": 133
  },
  "hsl": {
    "h": 262.43,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3495,
    "c": 0.16292,
    "h": 292.9
  },
  "luminance": 0.0359
}

Semantic roles & 50–950 ramp

primary
#421A85
secondary
#8CB842
accent
#EA3EAA
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #421A85

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

Preview Lab → · Contrast checker → · Palette generator →

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