#421C8A#421C8A

#421C8A is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.167 H 291.2°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#421C8A
RGBrgb(66, 28, 138)
HSLhsl(261, 66%, 33%)
HSVhsv(261, 80%, 54%)
CMYKcmyk(52.2%, 79.7%, 0%, 45.9%)
CIE-LABlab(23.08, 43.59, -54.10)
CIE-LCHlch(23.08, 69.47, 308.86°)
OKLaboklab(35.67% 0.0601 -0.1554)
OKLCHoklch(35.67% 0.167 291.2)
XYZxyz(7.2482, 3.8234, 24.3959)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C8A #648A1C
analogous
#1C2D8A #421C8A #791C8A
triadic
#421C8A #8A421C #1C8A42
tetradic
#421C8A #8A1C2D #648A1C #1C8A79
square
#421C8A #8A1C2D #648A1C #1C8A79
split-complementary
#421C8A #8A791C #2D8A1C
monochromatic
#110724 #2A1257 #421C8A #5A26BD #7A47DA

Accessibility & contrast

On white

11.90
#421C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421C8A
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421C8A#FFFFFF#000000##FFFFFF
##421C8A1.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398D
Deuteranopia (green-blind)
#003588
Tritanopia (blue-blind)
#293B53
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #421c8a;
/* rgb */ color: rgb(66, 28, 138);
/* oklch */ color: oklch(35.7% 0.167 291.2);
Tailwind
colors: {
  custom: {
    50: '#7f5dad',
    500: '#421c8a',
    950: '#000000',
  },
}
SCSS
$custom: #421c8a;
$custom-light: #7f5dad;
$custom-dark: #000000;
JSON
{
  "hex": "#421c8a",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 138
  },
  "hsl": {
    "h": 260.727,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35665,
    "c": 0.16665,
    "h": 291.2
  },
  "luminance": 0.03824
}

Semantic roles & 50–950 ramp

primary
#421C8A
secondary
#93BB46
accent
#E93FAE
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #421C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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