#421E68#421E68

#421E68 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.8% C 0.124 H 302.3°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#421E68
RGBrgb(66, 30, 104)
HSLhsl(269, 55%, 26%)
HSVhsv(269, 71%, 41%)
CMYKcmyk(36.5%, 71.2%, 0%, 59.2%)
CIE-LABlab(20.39, 33.09, -36.78)
CIE-LCHlch(20.39, 49.48, 311.97°)
OKLaboklab(32.82% 0.0662 -0.1046)
OKLCHoklch(32.82% 0.124 302.3)
XYZxyz(5.2091, 3.0863, 13.4153)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E68 #44681E
analogous
#1E1F68 #421E68 #671E68
triadic
#421E68 #68421E #1E6842
tetradic
#421E68 #681E1F #44681E #1E6867
square
#421E68 #681E1F #44681E #1E6867
split-complementary
#421E68 #68671E #1F681E
monochromatic
#0F0718 #241039 #421E68 #602C98 #7E3AC6

Accessibility & contrast

On white

12.99
#421E68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#421E68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421E68
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E68#FFFFFF#000000##FFFFFF
##421E681.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316A
Deuteranopia (green-blind)
#003166
Tritanopia (blue-blind)
#3A2F40
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #421e68;
/* rgb */ color: rgb(66, 30, 104);
/* oklch */ color: oklch(32.8% 0.124 302.3);
Tailwind
colors: {
  custom: {
    50: '#7a5d94',
    500: '#421e68',
    950: '#000000',
  },
}
SCSS
$custom: #421e68;
$custom-light: #7a5d94;
$custom-dark: #000000;
JSON
{
  "hex": "#421e68",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 104
  },
  "hsl": {
    "h": 269.189,
    "s": 55.224,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32819,
    "c": 0.12379,
    "h": 302.3
  },
  "luminance": 0.03086
}

Semantic roles & 50–950 ramp

primary
#421E68
secondary
#729D45
accent
#DF4996
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #421E68

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

Preview Lab → · Contrast checker → · Palette generator →

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