#421F84#421F84

#421F84 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.156 H 292.3°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#421F84
RGBrgb(66, 31, 132)
HSLhsl(261, 62%, 32%)
HSVhsv(261, 77%, 52%)
CMYKcmyk(50%, 76.5%, 0%, 48.2%)
CIE-LABlab(23.01, 40.43, -50.44)
CIE-LCHlch(23.01, 64.65, 308.71°)
OKLaboklab(35.44% 0.0594 -0.1447)
OKLCHoklch(35.44% 0.156 292.3)
XYZxyz(6.9004, 3.8039, 22.1960)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421F84 #61841F
analogous
#1F2F84 #421F84 #751F84
triadic
#421F84 #84421F #1F8442
tetradic
#421F84 #841F2F #61841F #1F8475
square
#421F84 #841F2F #61841F #1F8475
split-complementary
#421F84 #84751F #2F841F
monochromatic
#100821 #291352 #421F84 #5B2BB6 #7949D4

Accessibility & contrast

On white

11.93
#421F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#421F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421F84
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421F84#FFFFFF#000000##FFFFFF
##421F841.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003887
Deuteranopia (green-blind)
#003582
Tritanopia (blue-blind)
#2D3A50
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #421f84;
/* rgb */ color: rgb(66, 31, 132);
/* oklch */ color: oklch(35.4% 0.156 292.3);
Tailwind
colors: {
  custom: {
    50: '#7e5ea9',
    500: '#421f84',
    950: '#000000',
  },
}
SCSS
$custom: #421f84;
$custom-light: #7e5ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#421f84",
  "rgb": {
    "r": 66,
    "g": 31,
    "b": 132
  },
  "hsl": {
    "h": 260.792,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35442,
    "c": 0.15644,
    "h": 292.3
  },
  "luminance": 0.03804
}

Semantic roles & 50–950 ramp

primary
#421F84
secondary
#90B748
accent
#E543AD
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #421F84

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

Preview Lab → · Contrast checker → · Palette generator →

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