#421A83#421A83

#421A83 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.8% C 0.161 H 293.4°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#421A83
RGBrgb(66, 26, 131)
HSLhsl(263, 67%, 31%)
HSVhsv(263, 80%, 51%)
CMYKcmyk(49.6%, 80.2%, 0%, 48.6%)
CIE-LABlab(22.07, 42.56, -51.36)
CIE-LCHlch(22.07, 66.70, 309.65°)
OKLaboklab(34.75% 0.0639 -0.1474)
OKLCHoklch(34.75% 0.161 293.4)
XYZxyz(6.7118, 3.5355, 21.7971)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421A83 #5B831A
analogous
#1A2683 #421A83 #761A83
triadic
#421A83 #83421A #1A8342
tetradic
#421A83 #831A26 #5B831A #1A8376
square
#421A83 #831A26 #5B831A #1A8376
split-complementary
#421A83 #83761A #26831A
monochromatic
#0F061D #281050 #421A83 #5C24B6 #793FD9

Accessibility & contrast

On white

12.30
#421A83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#421A83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421A83
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421A83#FFFFFF#000000##FFFFFF
##421A831.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003686
Deuteranopia (green-blind)
#003381
Tritanopia (blue-blind)
#2E374E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #421a83;
/* rgb */ color: rgb(66, 26, 131);
/* oklch */ color: oklch(34.8% 0.161 293.4);
Tailwind
colors: {
  custom: {
    50: '#7e5ca8',
    500: '#421a83',
    950: '#000000',
  },
}
SCSS
$custom: #421a83;
$custom-light: #7e5ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#421a83",
  "rgb": {
    "r": 66,
    "g": 26,
    "b": 131
  },
  "hsl": {
    "h": 262.857,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34754,
    "c": 0.16064,
    "h": 293.4
  },
  "luminance": 0.03536
}

Semantic roles & 50–950 ramp

primary
#421A83
secondary
#8AB742
accent
#EA3EA8
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #421A83

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

Preview Lab → · Contrast checker → · Palette generator →

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