#421C8E#421C8E

#421C8E is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.171 H 290.1°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#421C8E
RGBrgb(66, 28, 142)
HSLhsl(260, 67%, 33%)
HSVhsv(260, 80%, 56%)
CMYKcmyk(53.5%, 80.3%, 0%, 44.3%)
CIE-LABlab(23.48, 44.71, -55.94)
CIE-LCHlch(23.48, 71.61, 308.64°)
OKLaboklab(36.06% 0.0589 -0.1608)
OKLCHoklch(36.06% 0.171 290.1)
XYZxyz(7.5431, 3.9414, 25.9493)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C8E #688E1C
analogous
#1C2F8E #421C8E #7B1C8E
triadic
#421C8E #8E421C #1C8E42
tetradic
#421C8E #8E1C2F #688E1C #1C8E7B
square
#421C8E #8E1C2F #688E1C #1C8E7B
split-complementary
#421C8E #8E7B1C #2F8E1C
monochromatic
#120828 #2A125B #421C8E #5A26C1 #7A49DB

Accessibility & contrast

On white

11.74
#421C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421C8E
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421C8E#FFFFFF#000000##FFFFFF
##421C8E1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A91
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#263D55
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #421c8e;
/* rgb */ color: rgb(66, 28, 142);
/* oklch */ color: oklch(36.1% 0.171 290.1);
Tailwind
colors: {
  custom: {
    50: '#7f5db0',
    500: '#421c8e',
    950: '#000000',
  },
}
SCSS
$custom: #421c8e;
$custom-light: #7f5db0;
$custom-dark: #000000;
JSON
{
  "hex": "#421c8e",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 260,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36063,
    "c": 0.17125,
    "h": 290.1
  },
  "luminance": 0.03942
}

Semantic roles & 50–950 ramp

primary
#421C8E
secondary
#96BD49
accent
#EA3EB1
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #421C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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