#421971#421971

#421971 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.141 H 299.7°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#421971
RGBrgb(66, 25, 113)
HSLhsl(268, 64%, 27%)
HSVhsv(268, 78%, 44%)
CMYKcmyk(41.6%, 77.9%, 0%, 55.7%)
CIE-LABlab(20.23, 38.12, -42.89)
CIE-LCHlch(20.23, 57.38, 311.63°)
OKLaboklab(32.94% 0.0699 -0.1225)
OKLCHoklch(32.94% 0.141 299.7)
XYZxyz(5.5743, 3.0457, 15.9138)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421971 #487119
analogous
#191C71 #421971 #6E1971
triadic
#421971 #714219 #197142
tetradic
#421971 #71191C #487119 #19716E
square
#421971 #71191C #487119 #19716E
split-complementary
#421971 #716E19 #1C7119
monochromatic
#0F0619 #250E3F #421971 #5F24A3 #7D33D2

Accessibility & contrast

On white

13.05
#421971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#421971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421971
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421971#FFFFFF#000000##FFFFFF
##4219711.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003173
Deuteranopia (green-blind)
#00306F
Tritanopia (blue-blind)
#373044
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #421971;
/* rgb */ color: rgb(66, 25, 113);
/* oklch */ color: oklch(32.9% 0.141 299.7);
Tailwind
colors: {
  custom: {
    50: '#7b5a9b',
    500: '#421971',
    950: '#000000',
  },
}
SCSS
$custom: #421971;
$custom-light: #7b5a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#421971",
  "rgb": {
    "r": 66,
    "g": 25,
    "b": 113
  },
  "hsl": {
    "h": 267.955,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.32943,
    "c": 0.14108,
    "h": 299.7
  },
  "luminance": 0.03046
}

Semantic roles & 50–950 ramp

primary
#421971
secondary
#76A640
accent
#E7419A
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421971

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

Preview Lab → · Contrast checker → · Palette generator →

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