#421F70#421F70

#421F70 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.6% C 0.132 H 298.8°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#421F70
RGBrgb(66, 31, 112)
HSLhsl(266, 57%, 28%)
HSVhsv(266, 72%, 44%)
CMYKcmyk(41.1%, 72.3%, 0%, 56.1%)
CIE-LABlab(21.24, 34.75, -40.60)
CIE-LCHlch(21.24, 53.44, 310.56°)
OKLaboklab(33.63% 0.0638 -0.1158)
OKLCHoklch(33.63% 0.132 298.8)
XYZxyz(5.6606, 3.3080, 15.6664)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421F70 #4D701F
analogous
#1F2470 #421F70 #6A1F70
triadic
#421F70 #70421F #1F7042
tetradic
#421F70 #701F24 #4D701F #1F706A
square
#421F70 #701F24 #4D701F #1F706A
split-complementary
#421F70 #706A1F #24701F
monochromatic
#0E0718 #261240 #421F70 #5E2CA0 #7B3FCA

Accessibility & contrast

On white

12.64
#421F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#421F70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421F70
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421F70#FFFFFF#000000##FFFFFF
##421F701.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #421f70;
/* rgb */ color: rgb(66, 31, 112);
/* oklch */ color: oklch(33.6% 0.132 298.8);
Tailwind
colors: {
  custom: {
    50: '#7b5e9a',
    500: '#421f70',
    950: '#000000',
  },
}
SCSS
$custom: #421f70;
$custom-light: #7b5e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#421f70",
  "rgb": {
    "r": 66,
    "g": 31,
    "b": 112
  },
  "hsl": {
    "h": 265.926,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33634,
    "c": 0.13223,
    "h": 298.8
  },
  "luminance": 0.03308
}

Semantic roles & 50–950 ramp

primary
#421F70
secondary
#7CA447
accent
#E0489E
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421F70

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

Preview Lab → · Contrast checker → · Palette generator →

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