#421371#421371

#421371 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.3% C 0.148 H 300.7°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#421371
RGBrgb(66, 19, 113)
HSLhsl(270, 71%, 26%)
HSVhsv(270, 83%, 44%)
CMYKcmyk(41.6%, 83.2%, 0%, 55.7%)
CIE-LABlab(19.29, 40.80, -44.42)
CIE-LCHlch(19.29, 60.31, 312.57°)
OKLaboklab(32.29% 0.0754 -0.127)
OKLCHoklch(32.29% 0.148 300.7)
XYZxyz(5.4595, 2.8162, 15.8755)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421371 #427113
analogous
#131371 #421371 #711371
triadic
#421371 #714213 #137142
tetradic
#421371 #711313 #427113 #137171
square
#421371 #711313 #427113 #137171
split-complementary
#421371 #717113 #137113
monochromatic
#0F041A #230A3D #421371 #611CA5 #7F25DA

Accessibility & contrast

On white

13.43
#421371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421371
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421371#FFFFFF#000000##FFFFFF
##4213711.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E74
Deuteranopia (green-blind)
#002E6F
Tritanopia (blue-blind)
#372D42
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #421371;
/* rgb */ color: rgb(66, 19, 113);
/* oklch */ color: oklch(32.3% 0.148 300.7);
Tailwind
colors: {
  custom: {
    50: '#7c579b',
    500: '#421371',
    950: '#000000',
  },
}
SCSS
$custom: #421371;
$custom-light: #7c579b;
$custom-dark: #000000;
JSON
{
  "hex": "#421371",
  "rgb": {
    "r": 66,
    "g": 19,
    "b": 113
  },
  "hsl": {
    "h": 270,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.32289,
    "c": 0.14765,
    "h": 300.7
  },
  "luminance": 0.02816
}

Semantic roles & 50–950 ramp

primary
#421371
secondary
#70A838
accent
#EE3A94
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #421371

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

Preview Lab → · Contrast checker → · Palette generator →

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