#421776#421776

#421776 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.149 H 298.2°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#421776
RGBrgb(66, 23, 118)
HSLhsl(267, 67%, 28%)
HSVhsv(267, 81%, 46%)
CMYKcmyk(44.1%, 80.5%, 0%, 53.7%)
CIE-LABlab(20.36, 40.39, -45.90)
CIE-LCHlch(20.36, 61.14, 311.35°)
OKLaboklab(33.18% 0.0704 -0.1313)
OKLCHoklch(33.18% 0.149 298.2)
XYZxyz(5.8223, 3.0790, 17.4236)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421776 #4B7617
analogous
#171B76 #421776 #711776
triadic
#421776 #764217 #177642
tetradic
#421776 #76171B #4B7617 #177671
square
#421776 #76171B #4B7617 #177671
split-complementary
#421776 #767117 #1B7617
monochromatic
#0E051A #250D43 #421776 #5F21A9 #7C31D7

Accessibility & contrast

On white

13.00
#421776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#421776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421776
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421776#FFFFFF#000000##FFFFFF
##4217761.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003179
Deuteranopia (green-blind)
#003074
Tritanopia (blue-blind)
#353146
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #421776;
/* rgb */ color: rgb(66, 23, 118);
/* oklch */ color: oklch(33.2% 0.149 298.2);
Tailwind
colors: {
  custom: {
    50: '#7c5a9e',
    500: '#421776',
    950: '#000000',
  },
}
SCSS
$custom: #421776;
$custom-light: #7c5a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#421776",
  "rgb": {
    "r": 66,
    "g": 23,
    "b": 118
  },
  "hsl": {
    "h": 267.158,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33177,
    "c": 0.14902,
    "h": 298.2
  },
  "luminance": 0.03079
}

Semantic roles & 50–950 ramp

primary
#421776
secondary
#7AAB3E
accent
#EA3E9C
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421776

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

Preview Lab → · Contrast checker → · Palette generator →

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