#421F85#421F85

#421F85 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.5% C 0.158 H 292.0°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#421F85
RGBrgb(66, 31, 133)
HSLhsl(261, 62%, 32%)
HSVhsv(261, 77%, 52%)
CMYKcmyk(50.4%, 76.7%, 0%, 47.8%)
CIE-LABlab(23.11, 40.71, -50.92)
CIE-LCHlch(23.11, 65.20, 308.65°)
OKLaboklab(35.54% 0.0591 -0.1461)
OKLCHoklch(35.54% 0.158 292)
XYZxyz(6.9692, 3.8314, 22.5581)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421F85 #62851F
analogous
#1F2F85 #421F85 #751F85
triadic
#421F85 #85421F #1F8542
tetradic
#421F85 #851F2F #62851F #1F8575
square
#421F85 #851F2F #62851F #1F8575
split-complementary
#421F85 #85751F #2F851F
monochromatic
#110822 #291353 #421F85 #5B2BB7 #794AD5

Accessibility & contrast

On white

11.89
#421F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#421F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421F85
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421F85#FFFFFF#000000##FFFFFF
##421F851.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003583
Tritanopia (blue-blind)
#2C3B50
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #421f85;
/* rgb */ color: rgb(66, 31, 133);
/* oklch */ color: oklch(35.5% 0.158 292.0);
Tailwind
colors: {
  custom: {
    50: '#7e5fa9',
    500: '#421f85',
    950: '#000000',
  },
}
SCSS
$custom: #421f85;
$custom-light: #7e5fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#421f85",
  "rgb": {
    "r": 66,
    "g": 31,
    "b": 133
  },
  "hsl": {
    "h": 260.588,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35537,
    "c": 0.15763,
    "h": 292
  },
  "luminance": 0.03832
}

Semantic roles & 50–950 ramp

primary
#421F85
secondary
#91B749
accent
#E543AD
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #421F85

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

Preview Lab → · Contrast checker → · Palette generator →

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