#421C9D#421C9D

#421C9D is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.6% C 0.188 H 286.6°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#421C9D
RGBrgb(66, 28, 157)
HSLhsl(258, 70%, 36%)
HSVhsv(258, 82%, 62%)
CMYKcmyk(58%, 82.2%, 0%, 38.4%)
CIE-LABlab(25.02, 48.91, -62.64)
CIE-LCHlch(25.02, 79.47, 307.99°)
OKLaboklab(37.6% 0.0539 -0.1804)
OKLCHoklch(37.6% 0.188 286.6)
XYZxyz(8.7460, 4.4226, 32.2845)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C9D #779D1C
analogous
#1C379D #421C9D #831C9D
triadic
#421C9D #9D421C #1C9D42
tetradic
#421C9D #9D1C37 #779D1C #1C9D83
square
#421C9D #9D1C37 #779D1C #1C9D83
split-complementary
#421C9D #9D831C #379D1C
monochromatic
#160935 #2C1369 #421C9D #5825D1 #7D53E0

Accessibility & contrast

On white

11.14
#421C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#421C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421C9D
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421C9D#FFFFFF#000000##FFFFFF
##421C9D1.0011.141.8811.14
#FFFFFF11.141.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA0
Deuteranopia (green-blind)
#00389B
Tritanopia (blue-blind)
#14435E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #421c9d;
/* rgb */ color: rgb(66, 28, 157);
/* oklch */ color: oklch(37.6% 0.188 286.6);
Tailwind
colors: {
  custom: {
    50: '#825ebb',
    500: '#421c9d',
    950: '#000000',
  },
}
SCSS
$custom: #421c9d;
$custom-light: #825ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#421c9d",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 157
  },
  "hsl": {
    "h": 257.674,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37597,
    "c": 0.18826,
    "h": 286.6
  },
  "luminance": 0.04423
}

Semantic roles & 50–950 ramp

primary
#421C9D
secondary
#A2C351
accent
#ED3BB8
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #421C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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