#421771#421771

#421771 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.7% C 0.143 H 300.1°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#421771
RGBrgb(66, 23, 113)
HSLhsl(269, 66%, 27%)
HSVhsv(269, 80%, 44%)
CMYKcmyk(41.6%, 79.6%, 0%, 55.7%)
CIE-LABlab(19.90, 39.06, -43.43)
CIE-LCHlch(19.90, 58.41, 311.97°)
OKLaboklab(32.71% 0.0718 -0.1241)
OKLCHoklch(32.71% 0.143 300.1)
XYZxyz(5.5331, 2.9632, 15.9000)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421771 #467117
analogous
#171971 #421771 #6F1771
triadic
#421771 #714217 #177142
tetradic
#421771 #711719 #467117 #17716F
square
#421771 #711719 #467117 #17716F
split-complementary
#421771 #716F17 #197117
monochromatic
#0F0519 #240D3E #421771 #6021A4 #7E2ED4

Accessibility & contrast

On white

13.19
#421771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#421771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421771
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421771#FFFFFF#000000##FFFFFF
##4217711.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003074
Deuteranopia (green-blind)
#002F6F
Tritanopia (blue-blind)
#372F43
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #421771;
/* rgb */ color: rgb(66, 23, 113);
/* oklch */ color: oklch(32.7% 0.143 300.1);
Tailwind
colors: {
  custom: {
    50: '#7c599b',
    500: '#421771',
    950: '#000000',
  },
}
SCSS
$custom: #421771;
$custom-light: #7c599b;
$custom-dark: #000000;
JSON
{
  "hex": "#421771",
  "rgb": {
    "r": 66,
    "g": 23,
    "b": 113
  },
  "hsl": {
    "h": 268.667,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32711,
    "c": 0.14339,
    "h": 300.1
  },
  "luminance": 0.02963
}

Semantic roles & 50–950 ramp

primary
#421771
secondary
#74A73D
accent
#E93F98
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421771

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

Preview Lab → · Contrast checker → · Palette generator →

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