#421C71#421C71

#421C71 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.3% C 0.137 H 299.1°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#421C71
RGBrgb(66, 28, 113)
HSLhsl(267, 60%, 28%)
HSVhsv(267, 75%, 44%)
CMYKcmyk(41.6%, 75.2%, 0%, 55.7%)
CIE-LABlab(20.75, 36.62, -42.03)
CIE-LCHlch(20.75, 55.75, 311.07°)
OKLaboklab(33.32% 0.0669 -0.12)
OKLCHoklch(33.32% 0.137 299.1)
XYZxyz(5.6419, 3.1809, 15.9363)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C71 #4B711C
analogous
#1C2071 #421C71 #6D1C71
triadic
#421C71 #71421C #1C7142
tetradic
#421C71 #711C20 #4B711C #1C716D
square
#421C71 #711C20 #4B711C #1C716D
split-complementary
#421C71 #716D1C #20711C
monochromatic
#0E0619 #251040 #421C71 #5F28A2 #7C39CE

Accessibility & contrast

On white

12.83
#421C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#421C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421C71
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421C71#FFFFFF#000000##FFFFFF
##421C711.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003273
Deuteranopia (green-blind)
#00316F
Tritanopia (blue-blind)
#373144
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #421c71;
/* rgb */ color: rgb(66, 28, 113);
/* oklch */ color: oklch(33.3% 0.137 299.1);
Tailwind
colors: {
  custom: {
    50: '#7b5c9b',
    500: '#421c71',
    950: '#000000',
  },
}
SCSS
$custom: #421c71;
$custom-light: #7b5c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#421c71",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 113
  },
  "hsl": {
    "h": 266.824,
    "s": 60.284,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33317,
    "c": 0.13739,
    "h": 299.1
  },
  "luminance": 0.03181
}

Semantic roles & 50–950 ramp

primary
#421C71
secondary
#7AA643
accent
#E3449C
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421C71

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

Preview Lab → · Contrast checker → · Palette generator →

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