#421F83#421F83

#421F83 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.3% C 0.155 H 292.6°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#421F83
RGBrgb(66, 31, 131)
HSLhsl(261, 62%, 32%)
HSVhsv(261, 76%, 51%)
CMYKcmyk(49.6%, 76.3%, 0%, 48.6%)
CIE-LABlab(22.92, 40.14, -49.97)
CIE-LCHlch(22.92, 64.09, 308.78°)
OKLaboklab(35.35% 0.0596 -0.1433)
OKLCHoklch(35.35% 0.155 292.6)
XYZxyz(6.8323, 3.7767, 21.8373)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421F83 #60831F
analogous
#1F2E83 #421F83 #741F83
triadic
#421F83 #83421F #1F8342
tetradic
#421F83 #831F2E #60831F #1F8374
square
#421F83 #831F2E #60831F #1F8374
split-complementary
#421F83 #83741F #2E831F
monochromatic
#100820 #291352 #421F83 #5B2BB4 #7949D4

Accessibility & contrast

On white

11.96
#421F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421F83
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421F83#FFFFFF#000000##FFFFFF
##421F831.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#003581
Tritanopia (blue-blind)
#2D3A4F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #421f83;
/* rgb */ color: rgb(66, 31, 131);
/* oklch */ color: oklch(35.3% 0.155 292.6);
Tailwind
colors: {
  custom: {
    50: '#7d5ea8',
    500: '#421f83',
    950: '#000000',
  },
}
SCSS
$custom: #421f83;
$custom-light: #7d5ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#421f83",
  "rgb": {
    "r": 66,
    "g": 31,
    "b": 131
  },
  "hsl": {
    "h": 261,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35348,
    "c": 0.15525,
    "h": 292.6
  },
  "luminance": 0.03777
}

Semantic roles & 50–950 ramp

primary
#421F83
secondary
#8FB648
accent
#E543AC
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #421F83

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

Preview Lab → · Contrast checker → · Palette generator →

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