#421C8F#421C8F

#421C8F is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.172 H 289.9°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#421C8F
RGBrgb(66, 28, 143)
HSLhsl(260, 67%, 34%)
HSVhsv(260, 80%, 56%)
CMYKcmyk(53.8%, 80.4%, 0%, 43.9%)
CIE-LABlab(23.58, 44.99, -56.39)
CIE-LCHlch(23.58, 72.14, 308.58°)
OKLaboklab(36.16% 0.0586 -0.1621)
OKLCHoklch(36.16% 0.172 289.9)
XYZxyz(7.6185, 3.9716, 26.3464)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C8F #698F1C
analogous
#1C2F8F #421C8F #7B1C8F
triadic
#421C8F #8F421C #1C8F42
tetradic
#421C8F #8F1C2F #698F1C #1C8F7B
square
#421C8F #8F1C2F #698F1C #1C8F7B
split-complementary
#421C8F #8F7B1C #2F8F1C
monochromatic
#130829 #2A125C #421C8F #5A26C2 #7A4ADC

Accessibility & contrast

On white

11.70
#421C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#421C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421C8F
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421C8F#FFFFFF#000000##FFFFFF
##421C8F1.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#253D55
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #421c8f;
/* rgb */ color: rgb(66, 28, 143);
/* oklch */ color: oklch(36.2% 0.172 289.9);
Tailwind
colors: {
  custom: {
    50: '#805eb1',
    500: '#421c8f',
    950: '#000000',
  },
}
SCSS
$custom: #421c8f;
$custom-light: #805eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#421c8f",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 259.826,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36163,
    "c": 0.17239,
    "h": 289.9
  },
  "luminance": 0.03972
}

Semantic roles & 50–950 ramp

primary
#421C8F
secondary
#97BE49
accent
#EA3EB1
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #421C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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