#421E66#421E66

#421E66 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.7% C 0.121 H 303.2°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#421E66
RGBrgb(66, 30, 102)
HSLhsl(270, 55%, 26%)
HSVhsv(270, 71%, 40%)
CMYKcmyk(35.3%, 70.6%, 0%, 60%)
CIE-LABlab(20.23, 32.54, -35.73)
CIE-LCHlch(20.23, 48.33, 312.32°)
OKLaboklab(32.66% 0.0665 -0.1015)
OKLCHoklch(32.66% 0.121 303.2)
XYZxyz(5.1088, 3.0461, 12.8866)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E66 #42661E
analogous
#1E1E66 #421E66 #661E66
triadic
#421E66 #66421E #1E6642
tetradic
#421E66 #661E1E #42661E #1E6666
square
#421E66 #661E1E #42661E #1E6666
split-complementary
#421E66 #66661E #1E661E
monochromatic
#0F0718 #231037 #421E66 #612C95 #7F3AC5

Accessibility & contrast

On white

13.05
#421E66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#421E66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421E66
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E66#FFFFFF#000000##FFFFFF
##421E661.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003068
Deuteranopia (green-blind)
#033164
Tritanopia (blue-blind)
#3B2E3F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #421e66;
/* rgb */ color: rgb(66, 30, 102);
/* oklch */ color: oklch(32.7% 0.121 303.2);
Tailwind
colors: {
  custom: {
    50: '#7a5d92',
    500: '#421e66',
    950: '#000000',
  },
}
SCSS
$custom: #421e66;
$custom-light: #7a5d92;
$custom-dark: #000000;
JSON
{
  "hex": "#421e66",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 102
  },
  "hsl": {
    "h": 270,
    "s": 54.545,
    "l": 25.882
  },
  "oklch": {
    "l": 0.32655,
    "c": 0.12133,
    "h": 303.2
  },
  "luminance": 0.03046
}

Semantic roles & 50–950 ramp

primary
#421E66
secondary
#709B45
accent
#DE4A94
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #421E66

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

Preview Lab → · Contrast checker → · Palette generator →

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