#421E70#421E70

#421E70 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.5% C 0.134 H 299.1°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#421E70
RGBrgb(66, 30, 112)
HSLhsl(266, 58%, 28%)
HSVhsv(266, 73%, 44%)
CMYKcmyk(41.1%, 73.2%, 0%, 56.1%)
CIE-LABlab(21.04, 35.29, -40.91)
CIE-LCHlch(21.04, 54.03, 310.78°)
OKLaboklab(33.5% 0.0649 -0.1167)
OKLCHoklch(33.5% 0.134 299.1)
XYZxyz(5.6349, 3.2566, 15.6578)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E70 #4C701E
analogous
#1E2370 #421E70 #6B1E70
triadic
#421E70 #70421E #1E7042
tetradic
#421E70 #701E23 #4C701E #1E706B
square
#421E70 #701E23 #4C701E #1E706B
split-complementary
#421E70 #706B1E #23701E
monochromatic
#0E0618 #261140 #421E70 #5E2BA0 #7C3DCB

Accessibility & contrast

On white

12.72
#421E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#421E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421E70
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E70#FFFFFF#000000##FFFFFF
##421E701.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003372
Deuteranopia (green-blind)
#00326E
Tritanopia (blue-blind)
#373244
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #421e70;
/* rgb */ color: rgb(66, 30, 112);
/* oklch */ color: oklch(33.5% 0.134 299.1);
Tailwind
colors: {
  custom: {
    50: '#7b5d9a',
    500: '#421e70',
    950: '#000000',
  },
}
SCSS
$custom: #421e70;
$custom-light: #7b5d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#421e70",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 112
  },
  "hsl": {
    "h": 266.341,
    "s": 57.746,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33495,
    "c": 0.13358,
    "h": 299.1
  },
  "luminance": 0.03257
}

Semantic roles & 50–950 ramp

primary
#421E70
secondary
#7BA446
accent
#E1479D
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421E70

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

Preview Lab → · Contrast checker → · Palette generator →

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