#421E95#421E95

#421E95 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.177 H 288.1°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#421E95
RGBrgb(66, 30, 149)
HSLhsl(258, 66%, 35%)
HSVhsv(258, 80%, 58%)
CMYKcmyk(55.7%, 79.9%, 0%, 41.6%)
CIE-LABlab(24.50, 45.77, -58.58)
CIE-LCHlch(24.50, 74.34, 308.00°)
OKLaboklab(36.99% 0.0552 -0.1686)
OKLCHoklch(36.99% 0.177 288.1)
XYZxyz(8.1343, 4.2563, 28.8209)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E95 #71951E
analogous
#1E3695 #421E95 #7D1E95
triadic
#421E95 #95421E #1E9542
tetradic
#421E95 #951E36 #71951E #1E957D
square
#421E95 #951E36 #71951E #1E957D
split-complementary
#421E95 #957D1E #36951E
monochromatic
#15092F #2B1462 #421E95 #5928C8 #7B51DC

Accessibility & contrast

On white

11.34
#421E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#421E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421E95
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E95#FFFFFF#000000##FFFFFF
##421E951.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D98
Deuteranopia (green-blind)
#003793
Tritanopia (blue-blind)
#1F4159
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #421e95;
/* rgb */ color: rgb(66, 30, 149);
/* oklch */ color: oklch(37.0% 0.177 288.1);
Tailwind
colors: {
  custom: {
    50: '#805fb5',
    500: '#421e95',
    950: '#000000',
  },
}
SCSS
$custom: #421e95;
$custom-light: #805fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#421e95",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 258.151,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36988,
    "c": 0.17737,
    "h": 288.1
  },
  "luminance": 0.04257
}

Semantic roles & 50–950 ramp

primary
#421E95
secondary
#9DBF50
accent
#E93EB6
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #421E95

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

Preview Lab → · Contrast checker → · Palette generator →

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