#421C74#421C74

#421C74 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.6% C 0.141 H 298.0°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#421C74
RGBrgb(66, 28, 116)
HSLhsl(266, 61%, 28%)
HSVhsv(266, 76%, 45%)
CMYKcmyk(43.1%, 75.9%, 0%, 54.5%)
CIE-LABlab(21.02, 37.45, -43.53)
CIE-LCHlch(21.02, 57.42, 310.70°)
OKLaboklab(33.58% 0.0662 -0.1244)
OKLCHoklch(33.58% 0.141 298)
XYZxyz(5.8136, 3.2496, 16.8406)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C74 #4E741C
analogous
#1C2274 #421C74 #6E1C74
triadic
#421C74 #74421C #1C7442
tetradic
#421C74 #741C22 #4E741C #1C746E
square
#421C74 #741C22 #4E741C #1C746E
split-complementary
#421C74 #746E1C #22741C
monochromatic
#0E0619 #261043 #421C74 #5E28A5 #7B3BD0

Accessibility & contrast

On white

12.73
#421C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#421C74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421C74
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421C74#FFFFFF#000000##FFFFFF
##421C741.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003377
Deuteranopia (green-blind)
#003272
Tritanopia (blue-blind)
#363246
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #421c74;
/* rgb */ color: rgb(66, 28, 116);
/* oklch */ color: oklch(33.6% 0.141 298.0);
Tailwind
colors: {
  custom: {
    50: '#7c5c9d',
    500: '#421c74',
    950: '#000000',
  },
}
SCSS
$custom: #421c74;
$custom-light: #7c5c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#421c74",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 116
  },
  "hsl": {
    "h": 265.909,
    "s": 61.111,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33584,
    "c": 0.14095,
    "h": 298
  },
  "luminance": 0.0325
}

Semantic roles & 50–950 ramp

primary
#421C74
secondary
#7DA843
accent
#E4449F
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421C74

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

Preview Lab → · Contrast checker → · Palette generator →

#421C74 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva