#421976#421976

#421976 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.4% C 0.147 H 297.9°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#421976
RGBrgb(66, 25, 118)
HSLhsl(266, 65%, 28%)
HSVhsv(266, 79%, 46%)
CMYKcmyk(44.1%, 78.8%, 0%, 53.7%)
CIE-LABlab(20.68, 39.47, -45.37)
CIE-LCHlch(20.68, 60.13, 311.02°)
OKLaboklab(33.4% 0.0686 -0.1298)
OKLCHoklch(33.4% 0.147 297.9)
XYZxyz(5.8636, 3.1614, 17.4373)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421976 #4D7619
analogous
#191E76 #421976 #701976
triadic
#421976 #764219 #197642
tetradic
#421976 #76191E #4D7619 #197670
square
#421976 #76191E #4D7619 #197670
split-complementary
#421976 #767019 #1E7619
monochromatic
#0E0519 #260E43 #421976 #5E24A8 #7B35D4

Accessibility & contrast

On white

12.86
#421976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#421976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421976
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421976#FFFFFF#000000##FFFFFF
##4219761.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#003174
Tritanopia (blue-blind)
#353246
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #421976;
/* rgb */ color: rgb(66, 25, 118);
/* oklch */ color: oklch(33.4% 0.147 297.9);
Tailwind
colors: {
  custom: {
    50: '#7c5b9e',
    500: '#421976',
    950: '#000000',
  },
}
SCSS
$custom: #421976;
$custom-light: #7c5b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#421976",
  "rgb": {
    "r": 66,
    "g": 25,
    "b": 118
  },
  "hsl": {
    "h": 266.452,
    "s": 65.035,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33402,
    "c": 0.14683,
    "h": 297.9
  },
  "luminance": 0.03162
}

Semantic roles & 50–950 ramp

primary
#421976
secondary
#7CAB40
accent
#E8409E
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421976

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

Preview Lab → · Contrast checker → · Palette generator →

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