#421474#421474

#421474 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.7% C 0.150 H 299.4°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#421474
RGBrgb(66, 20, 116)
HSLhsl(269, 71%, 27%)
HSVhsv(269, 83%, 45%)
CMYKcmyk(43.1%, 82.8%, 0%, 54.5%)
CIE-LABlab(19.72, 41.16, -45.66)
CIE-LCHlch(19.72, 61.47, 312.04°)
OKLaboklab(32.67% 0.0736 -0.1306)
OKLCHoklch(32.67% 0.15 299.4)
XYZxyz(5.6485, 2.9194, 16.7855)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421474 #467414
analogous
#141674 #421474 #721474
triadic
#421474 #744214 #147442
tetradic
#421474 #741416 #467414 #147472
square
#421474 #741416 #467414 #147472
split-complementary
#421474 #747214 #167414
monochromatic
#0F051A #240B40 #421474 #601DA8 #7E28DA

Accessibility & contrast

On white

13.26
#421474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#421474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421474
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421474#FFFFFF#000000##FFFFFF
##4214741.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003077
Deuteranopia (green-blind)
#002F72
Tritanopia (blue-blind)
#362F44
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #421474;
/* rgb */ color: rgb(66, 20, 116);
/* oklch */ color: oklch(32.7% 0.150 299.4);
Tailwind
colors: {
  custom: {
    50: '#7c589d',
    500: '#421474',
    950: '#000000',
  },
}
SCSS
$custom: #421474;
$custom-light: #7c589d;
$custom-dark: #000000;
JSON
{
  "hex": "#421474",
  "rgb": {
    "r": 66,
    "g": 20,
    "b": 116
  },
  "hsl": {
    "h": 268.75,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32673,
    "c": 0.14991,
    "h": 299.4
  },
  "luminance": 0.0292
}

Semantic roles & 50–950 ramp

primary
#421474
secondary
#74AA3A
accent
#ED3A98
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421474

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

Preview Lab → · Contrast checker → · Palette generator →

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