#421176#421176

#421176 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.155 H 299.1°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#421176
RGBrgb(66, 17, 118)
HSLhsl(269, 75%, 26%)
HSVhsv(269, 86%, 46%)
CMYKcmyk(44.1%, 85.6%, 0%, 53.7%)
CIE-LABlab(19.50, 42.87, -47.30)
CIE-LCHlch(19.50, 63.83, 312.19°)
OKLaboklab(32.58% 0.0752 -0.1354)
OKLCHoklch(32.58% 0.155 299.1)
XYZxyz(5.7164, 2.8671, 17.3883)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421176 #457611
analogous
#111376 #421176 #751176
triadic
#421176 #764211 #117642
tetradic
#421176 #761113 #457611 #117675
square
#421176 #761113 #457611 #117675
split-complementary
#421176 #767511 #137611
monochromatic
#0F041B #240941 #421176 #6019AB #7E22DF

Accessibility & contrast

On white

13.35
#421176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#421176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421176
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421176#FFFFFF#000000##FFFFFF
##4211761.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F79
Deuteranopia (green-blind)
#002E74
Tritanopia (blue-blind)
#352E45
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #421176;
/* rgb */ color: rgb(66, 17, 118);
/* oklch */ color: oklch(32.6% 0.155 299.1);
Tailwind
colors: {
  custom: {
    50: '#7d579e',
    500: '#421176',
    950: '#000000',
  },
}
SCSS
$custom: #421176;
$custom-light: #7d579e;
$custom-dark: #000000;
JSON
{
  "hex": "#421176",
  "rgb": {
    "r": 66,
    "g": 17,
    "b": 118
  },
  "hsl": {
    "h": 269.109,
    "s": 74.815,
    "l": 26.471
  },
  "oklch": {
    "l": 0.32583,
    "c": 0.15489,
    "h": 299.1
  },
  "luminance": 0.02867
}

Semantic roles & 50–950 ramp

primary
#421176
secondary
#73AD36
accent
#F13697
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #421176

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

Preview Lab → · Contrast checker → · Palette generator →

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