#421C85#421C85

#421C85 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.161 H 292.5°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#421C85
RGBrgb(66, 28, 133)
HSLhsl(262, 65%, 32%)
HSVhsv(262, 79%, 52%)
CMYKcmyk(50.4%, 78.9%, 0%, 47.8%)
CIE-LABlab(22.59, 42.18, -51.76)
CIE-LCHlch(22.59, 66.78, 309.18°)
OKLaboklab(35.18% 0.0617 -0.1486)
OKLCHoklch(35.18% 0.161 292.5)
XYZxyz(6.8945, 3.6820, 22.5332)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C85 #5F851C
analogous
#1C2B85 #421C85 #771C85
triadic
#421C85 #85421C #1C8542
tetradic
#421C85 #851C2B #5F851C #1C8577
square
#421C85 #851C2B #5F851C #1C8577
split-complementary
#421C85 #85771C #2B851C
monochromatic
#100720 #291152 #421C85 #5B27B8 #7944D8

Accessibility & contrast

On white

12.09
#421C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#421C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421C85
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421C85#FFFFFF#000000##FFFFFF
##421C851.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #421c85;
/* rgb */ color: rgb(66, 28, 133);
/* oklch */ color: oklch(35.2% 0.161 292.5);
Tailwind
colors: {
  custom: {
    50: '#7e5da9',
    500: '#421c85',
    950: '#000000',
  },
}
SCSS
$custom: #421c85;
$custom-light: #7e5da9;
$custom-dark: #000000;
JSON
{
  "hex": "#421c85",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 133
  },
  "hsl": {
    "h": 261.714,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35176,
    "c": 0.16088,
    "h": 292.5
  },
  "luminance": 0.03682
}

Semantic roles & 50–950 ramp

primary
#421C85
secondary
#8EB845
accent
#E840AB
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #421C85

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

Preview Lab → · Contrast checker → · Palette generator →

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