#421C70#421C70

#421C70 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.2% C 0.136 H 299.5°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#421C70
RGBrgb(66, 28, 112)
HSLhsl(267, 60%, 27%)
HSVhsv(267, 75%, 44%)
CMYKcmyk(41.1%, 75%, 0%, 56.1%)
CIE-LABlab(20.67, 36.35, -41.53)
CIE-LCHlch(20.67, 55.18, 311.19°)
OKLaboklab(33.23% 0.0671 -0.1185)
OKLCHoklch(33.23% 0.136 299.5)
XYZxyz(5.5859, 3.1585, 15.6415)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C70 #4A701C
analogous
#1C2070 #421C70 #6C1C70
triadic
#421C70 #70421C #1C7042
tetradic
#421C70 #701C20 #4A701C #1C706C
square
#421C70 #701C20 #4A701C #1C706C
split-complementary
#421C70 #706C1C #20701C
monochromatic
#0E0618 #25103F #421C70 #5F28A1 #7C39CD

Accessibility & contrast

On white

12.87
#421C70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#421C70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421C70
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421C70#FFFFFF#000000##FFFFFF
##421C701.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #421c70;
/* rgb */ color: rgb(66, 28, 112);
/* oklch */ color: oklch(33.2% 0.136 299.5);
Tailwind
colors: {
  custom: {
    50: '#7b5c9a',
    500: '#421c70',
    950: '#000000',
  },
}
SCSS
$custom: #421c70;
$custom-light: #7b5c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#421c70",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 112
  },
  "hsl": {
    "h": 267.143,
    "s": 60,
    "l": 27.451
  },
  "oklch": {
    "l": 0.33228,
    "c": 0.1362,
    "h": 299.5
  },
  "luminance": 0.03159
}

Semantic roles & 50–950 ramp

primary
#421C70
secondary
#79A543
accent
#E3459B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421C70

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

Preview Lab → · Contrast checker → · Palette generator →

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