#421370#421370

#421370 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.147 H 301.1°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#421370
RGBrgb(66, 19, 112)
HSLhsl(270, 71%, 26%)
HSVhsv(270, 83%, 44%)
CMYKcmyk(41.1%, 83%, 0%, 56.1%)
CIE-LABlab(19.20, 40.54, -43.92)
CIE-LCHlch(19.20, 59.77, 312.71°)
OKLaboklab(32.2% 0.0757 -0.1255)
OKLCHoklch(32.2% 0.147 301.1)
XYZxyz(5.4035, 2.7938, 15.5807)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421370 #417013
analogous
#141370 #421370 #70136F
triadic
#421370 #704213 #137042
tetradic
#421370 #701413 #417013 #136F70
square
#421370 #701413 #417013 #136F70
split-complementary
#421370 #6F7013 #137014
monochromatic
#0F041A #230A3C #421370 #611CA4 #8025D9

Accessibility & contrast

On white

13.47
#421370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#421370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421370
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421370#FFFFFF#000000##FFFFFF
##4213701.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E73
Deuteranopia (green-blind)
#002E6E
Tritanopia (blue-blind)
#382C42
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #421370;
/* rgb */ color: rgb(66, 19, 112);
/* oklch */ color: oklch(32.2% 0.147 301.1);
Tailwind
colors: {
  custom: {
    50: '#7c579a',
    500: '#421370',
    950: '#000000',
  },
}
SCSS
$custom: #421370;
$custom-light: #7c579a;
$custom-dark: #000000;
JSON
{
  "hex": "#421370",
  "rgb": {
    "r": 66,
    "g": 19,
    "b": 112
  },
  "hsl": {
    "h": 270.323,
    "s": 70.992,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32195,
    "c": 0.14657,
    "h": 301.1
  },
  "luminance": 0.02794
}

Semantic roles & 50–950 ramp

primary
#421370
secondary
#6FA738
accent
#EE3A93
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #421370

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

Preview Lab → · Contrast checker → · Palette generator →

#421370 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva