#421076#421076

#421076 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.5% C 0.156 H 299.2°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#421076
RGBrgb(66, 16, 118)
HSLhsl(269, 76%, 26%)
HSVhsv(269, 86%, 46%)
CMYKcmyk(44.1%, 86.4%, 0%, 53.7%)
CIE-LABlab(19.38, 43.23, -47.50)
CIE-LCHlch(19.38, 64.23, 312.31°)
OKLaboklab(32.5% 0.076 -0.136)
OKLCHoklch(32.5% 0.156 299.2)
XYZxyz(5.7012, 2.8368, 17.3832)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421076 #447610
analogous
#101176 #421076 #751076
triadic
#421076 #764210 #107642
tetradic
#421076 #761011 #447610 #107675
square
#421076 #761011 #447610 #107675
split-complementary
#421076 #767510 #117610
monochromatic
#0F041B #240940 #421076 #6017AC #7E20E1

Accessibility & contrast

On white

13.40
#421076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421076
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421076#FFFFFF#000000##FFFFFF
##4210761.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.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: #421076;
/* rgb */ color: rgb(66, 16, 118);
/* oklch */ color: oklch(32.5% 0.156 299.2);
Tailwind
colors: {
  custom: {
    50: '#7d569e',
    500: '#421076',
    950: '#000000',
  },
}
SCSS
$custom: #421076;
$custom-light: #7d569e;
$custom-dark: #000000;
JSON
{
  "hex": "#421076",
  "rgb": {
    "r": 66,
    "g": 16,
    "b": 118
  },
  "hsl": {
    "h": 269.412,
    "s": 76.119,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32496,
    "c": 0.15575,
    "h": 299.2
  },
  "luminance": 0.02837
}

Semantic roles & 50–950 ramp

primary
#421076
secondary
#72AD35
accent
#F33596
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #421076

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

Preview Lab → · Contrast checker → · Palette generator →

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