#421C9F#421C9F

#421C9F is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.190 H 286.2°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#421C9F
RGBrgb(66, 28, 159)
HSLhsl(257, 70%, 37%)
HSVhsv(257, 82%, 62%)
CMYKcmyk(58.5%, 82.4%, 0%, 37.6%)
CIE-LABlab(25.23, 49.47, -63.51)
CIE-LCHlch(25.23, 80.50, 307.92°)
OKLaboklab(37.81% 0.0532 -0.1829)
OKLCHoklch(37.81% 0.19 286.2)
XYZxyz(8.9181, 4.4914, 33.1912)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C9F #799F1C
analogous
#1C379F #421C9F #841C9F
triadic
#421C9F #9F421C #1C9F42
tetradic
#421C9F #9F1C37 #799F1C #1C9F84
square
#421C9F #9F1C37 #799F1C #1C9F84
split-complementary
#421C9F #9F841C #379F1C
monochromatic
#170A37 #2C136B #421C9F #5825D3 #7D54E1

Accessibility & contrast

On white

11.06
#421C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#421C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421C9F
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421C9F#FFFFFF#000000##FFFFFF
##421C9F1.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#11445F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #421c9f;
/* rgb */ color: rgb(66, 28, 159);
/* oklch */ color: oklch(37.8% 0.190 286.2);
Tailwind
colors: {
  custom: {
    50: '#825fbd',
    500: '#421c9f',
    950: '#000000',
  },
}
SCSS
$custom: #421c9f;
$custom-light: #825fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#421c9f",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 159
  },
  "hsl": {
    "h": 257.405,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37807,
    "c": 0.19049,
    "h": 286.2
  },
  "luminance": 0.04492
}

Semantic roles & 50–950 ramp

primary
#421C9F
secondary
#A3C453
accent
#ED3BB9
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #421C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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