#421C8D#421C8D

#421C8D is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.170 H 290.4°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#421C8D
RGBrgb(66, 28, 141)
HSLhsl(260, 67%, 33%)
HSVhsv(260, 80%, 55%)
CMYKcmyk(53.2%, 80.1%, 0%, 44.7%)
CIE-LABlab(23.38, 44.43, -55.48)
CIE-LCHlch(23.38, 71.08, 308.69°)
OKLaboklab(35.96% 0.0592 -0.1595)
OKLCHoklch(35.96% 0.17 290.4)
XYZxyz(7.4684, 3.9115, 25.5556)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C8D #678D1C
analogous
#1C2E8D #421C8D #7A1C8D
triadic
#421C8D #8D421C #1C8D42
tetradic
#421C8D #8D1C2E #678D1C #1C8D7A
square
#421C8D #8D1C2E #678D1C #1C8D7A
split-complementary
#421C8D #8D7A1C #2E8D1C
monochromatic
#120827 #2A125A #421C8D #5A26C0 #7A49DB

Accessibility & contrast

On white

11.78
#421C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#421C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421C8D
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421C8D#FFFFFF#000000##FFFFFF
##421C8D1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A90
Deuteranopia (green-blind)
#00358B
Tritanopia (blue-blind)
#273C54
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #421c8d;
/* rgb */ color: rgb(66, 28, 141);
/* oklch */ color: oklch(36.0% 0.170 290.4);
Tailwind
colors: {
  custom: {
    50: '#7f5daf',
    500: '#421c8d',
    950: '#000000',
  },
}
SCSS
$custom: #421c8d;
$custom-light: #7f5daf;
$custom-dark: #000000;
JSON
{
  "hex": "#421c8d",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 260.177,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35963,
    "c": 0.1701,
    "h": 290.4
  },
  "luminance": 0.03912
}

Semantic roles & 50–950 ramp

primary
#421C8D
secondary
#95BD48
accent
#EA3EB0
background
#F8F5FA
surface
#EFE9F5
border
#CAC5CF
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #421C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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