#421C66#421C66

#421C66 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.4% C 0.124 H 303.7°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#421C66
RGBrgb(66, 28, 102)
HSLhsl(271, 57%, 25%)
HSVhsv(271, 73%, 40%)
CMYKcmyk(35.3%, 72.5%, 0%, 60%)
CIE-LABlab(19.83, 33.63, -36.37)
CIE-LCHlch(19.83, 49.53, 312.76°)
OKLaboklab(32.37% 0.0689 -0.1034)
OKLCHoklch(32.37% 0.124 303.7)
XYZxyz(5.0597, 2.9481, 12.8703)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C66 #40661C
analogous
#1D1C66 #421C66 #661C65
triadic
#421C66 #66421C #1C6642
tetradic
#421C66 #661D1C #40661C #1C6566
square
#421C66 #661D1C #40661C #1C6566
split-complementary
#421C66 #65661C #1C661D
monochromatic
#100718 #230F36 #421C66 #612996 #8036C6

Accessibility & contrast

On white

13.21
#421C66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#421C66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421C66
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421C66#FFFFFF#000000##FFFFFF
##421C661.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F68
Deuteranopia (green-blind)
#003064
Tritanopia (blue-blind)
#3B2D3E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #421c66;
/* rgb */ color: rgb(66, 28, 102);
/* oklch */ color: oklch(32.4% 0.124 303.7);
Tailwind
colors: {
  custom: {
    50: '#7a5b92',
    500: '#421c66',
    950: '#000000',
  },
}
SCSS
$custom: #421c66;
$custom-light: #7a5b92;
$custom-dark: #000000;
JSON
{
  "hex": "#421c66",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 102
  },
  "hsl": {
    "h": 270.811,
    "s": 56.923,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32373,
    "c": 0.12423,
    "h": 303.7
  },
  "luminance": 0.02948
}

Semantic roles & 50–950 ramp

primary
#421C66
secondary
#6E9B43
accent
#E04892
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #421C66

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

Preview Lab → · Contrast checker → · Palette generator →

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