#421E93#421E93

#421E93 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.175 H 288.6°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#421E93
RGBrgb(66, 30, 147)
HSLhsl(258, 66%, 35%)
HSVhsv(258, 80%, 58%)
CMYKcmyk(55.1%, 79.6%, 0%, 42.4%)
CIE-LABlab(24.30, 45.20, -57.68)
CIE-LCHlch(24.30, 73.28, 308.08°)
OKLaboklab(36.79% 0.0558 -0.1659)
OKLCHoklch(36.79% 0.175 288.6)
XYZxyz(7.9760, 4.1930, 27.9872)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E93 #6F931E
analogous
#1E3493 #421E93 #7D1E93
triadic
#421E93 #93421E #1E9342
tetradic
#421E93 #931E34 #6F931E #1E937D
square
#421E93 #931E34 #6F931E #1E937D
split-complementary
#421E93 #937D1E #34931E
monochromatic
#14092D #2B1460 #421E93 #5928C6 #7B50DB

Accessibility & contrast

On white

11.42
#421E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#421E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421E93
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E93#FFFFFF#000000##FFFFFF
##421E931.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C96
Deuteranopia (green-blind)
#003791
Tritanopia (blue-blind)
#214058
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #421e93;
/* rgb */ color: rgb(66, 30, 147);
/* oklch */ color: oklch(36.8% 0.175 288.6);
Tailwind
colors: {
  custom: {
    50: '#805fb4',
    500: '#421e93',
    950: '#000000',
  },
}
SCSS
$custom: #421e93;
$custom-light: #805fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#421e93",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 147
  },
  "hsl": {
    "h": 258.462,
    "s": 66.102,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36787,
    "c": 0.17507,
    "h": 288.6
  },
  "luminance": 0.04193
}

Semantic roles & 50–950 ramp

primary
#421E93
secondary
#9CBE4F
accent
#E93FB5
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #421E93

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

Preview Lab → · Contrast checker → · Palette generator →

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