#421E94#421E94

#421E94 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.176 H 288.4°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#421E94
RGBrgb(66, 30, 148)
HSLhsl(258, 66%, 35%)
HSVhsv(258, 80%, 58%)
CMYKcmyk(55.4%, 79.7%, 0%, 42%)
CIE-LABlab(24.40, 45.48, -58.13)
CIE-LCHlch(24.40, 73.81, 308.04°)
OKLaboklab(36.89% 0.0555 -0.1673)
OKLCHoklch(36.89% 0.176 288.4)
XYZxyz(8.0548, 4.2245, 28.4022)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E94 #70941E
analogous
#1E3594 #421E94 #7D1E94
triadic
#421E94 #94421E #1E9442
tetradic
#421E94 #941E35 #70941E #1E947D
square
#421E94 #941E35 #70941E #1E947D
split-complementary
#421E94 #947D1E #35941E
monochromatic
#15092E #2B1461 #421E94 #5928C7 #7B51DC

Accessibility & contrast

On white

11.38
#421E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421E94
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E94#FFFFFF#000000##FFFFFF
##421E941.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C97
Deuteranopia (green-blind)
#003792
Tritanopia (blue-blind)
#204059
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #421e94;
/* rgb */ color: rgb(66, 30, 148);
/* oklch */ color: oklch(36.9% 0.176 288.4);
Tailwind
colors: {
  custom: {
    50: '#805fb5',
    500: '#421e94',
    950: '#000000',
  },
}
SCSS
$custom: #421e94;
$custom-light: #805fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#421e94",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 148
  },
  "hsl": {
    "h": 258.305,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36888,
    "c": 0.17623,
    "h": 288.4
  },
  "luminance": 0.04225
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #421E94

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

Preview Lab → · Contrast checker → · Palette generator →

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