#421E8C#421E8C

#421E8C is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.1% C 0.167 H 290.3°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#421E8C
RGBrgb(66, 30, 140)
HSLhsl(260, 65%, 33%)
HSVhsv(260, 79%, 55%)
CMYKcmyk(52.9%, 78.6%, 0%, 45.1%)
CIE-LABlab(23.60, 43.21, -54.48)
CIE-LCHlch(23.60, 69.53, 308.42°)
OKLaboklab(36.09% 0.058 -0.1566)
OKLCHoklch(36.09% 0.167 290.3)
XYZxyz(7.4433, 3.9799, 25.1819)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E8C #688C1E
analogous
#1E318C #421E8C #791E8C
triadic
#421E8C #8C421E #1E8C42
tetradic
#421E8C #8C1E31 #688C1E #1E8C79
square
#421E8C #8C1E31 #688C1E #1E8C79
split-complementary
#421E8C #8C791E #318C1E
monochromatic
#120827 #2A135A #421E8C #5A29BE #7A4CD9

Accessibility & contrast

On white

11.69
#421E8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#421E8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421E8C
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E8C#FFFFFF#000000##FFFFFF
##421E8C1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8F
Deuteranopia (green-blind)
#00368A
Tritanopia (blue-blind)
#273D54
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #421e8c;
/* rgb */ color: rgb(66, 30, 140);
/* oklch */ color: oklch(36.1% 0.167 290.3);
Tailwind
colors: {
  custom: {
    50: '#7f5eaf',
    500: '#421e8c',
    950: '#000000',
  },
}
SCSS
$custom: #421e8c;
$custom-light: #7f5eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#421e8c",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 140
  },
  "hsl": {
    "h": 259.636,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36092,
    "c": 0.16694,
    "h": 290.3
  },
  "luminance": 0.0398
}

Semantic roles & 50–950 ramp

primary
#421E8C
secondary
#96BB4B
accent
#E840B1
background
#F8F5FA
surface
#EFE9F5
border
#CAC5CF
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #421E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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