#421B85#421B85

#421B85 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.1% C 0.162 H 292.7°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#421B85
RGBrgb(66, 27, 133)
HSLhsl(262, 66%, 31%)
HSVhsv(262, 80%, 52%)
CMYKcmyk(50.4%, 79.7%, 0%, 47.8%)
CIE-LABlab(22.43, 42.66, -52.03)
CIE-LCHlch(22.43, 67.28, 309.34°)
OKLaboklab(35.06% 0.0625 -0.1494)
OKLCHoklch(35.06% 0.162 292.7)
XYZxyz(6.8712, 3.6353, 22.5254)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421B85 #5E851B
analogous
#1B2985 #421B85 #771B85
triadic
#421B85 #85421B #1B8542
tetradic
#421B85 #851B29 #5E851B #1B8577
square
#421B85 #851B29 #5E851B #1B8577
split-complementary
#421B85 #85771B #29851B
monochromatic
#10061F #291152 #421B85 #5B25B8 #7942D9

Accessibility & contrast

On white

12.16
#421B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#421B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421B85
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421B85#FFFFFF#000000##FFFFFF
##421B851.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#2C394F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #421b85;
/* rgb */ color: rgb(66, 27, 133);
/* oklch */ color: oklch(35.1% 0.162 292.7);
Tailwind
colors: {
  custom: {
    50: '#7e5ca9',
    500: '#421b85',
    950: '#000000',
  },
}
SCSS
$custom: #421b85;
$custom-light: #7e5ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#421b85",
  "rgb": {
    "r": 66,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 262.075,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35061,
    "c": 0.16191,
    "h": 292.7
  },
  "luminance": 0.03636
}

Semantic roles & 50–950 ramp

primary
#421B85
secondary
#8DB844
accent
#E93FAA
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #421B85

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

Preview Lab → · Contrast checker → · Palette generator →

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