#421671#421671

#421671 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.145 H 300.2°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#421671
RGBrgb(66, 22, 113)
HSLhsl(269, 67%, 26%)
HSVhsv(269, 81%, 44%)
CMYKcmyk(41.6%, 80.5%, 0%, 55.7%)
CIE-LABlab(19.74, 39.51, -43.69)
CIE-LCHlch(19.74, 58.90, 312.13°)
OKLaboklab(32.6% 0.0728 -0.1248)
OKLCHoklch(32.6% 0.145 300.2)
XYZxyz(5.5136, 2.9243, 15.8935)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421671 #457116
analogous
#161871 #421671 #701671
triadic
#421671 #714216 #167142
tetradic
#421671 #711618 #457116 #167170
square
#421671 #711618 #457116 #167170
split-complementary
#421671 #717016 #187116
monochromatic
#0F051A #240C3E #421671 #6020A4 #7E2CD6

Accessibility & contrast

On white

13.25
#421671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421671
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421671#FFFFFF#000000##FFFFFF
##4216711.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F74
Deuteranopia (green-blind)
#002F6F
Tritanopia (blue-blind)
#372E43
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #421671;
/* rgb */ color: rgb(66, 22, 113);
/* oklch */ color: oklch(32.6% 0.145 300.2);
Tailwind
colors: {
  custom: {
    50: '#7c599b',
    500: '#421671',
    950: '#000000',
  },
}
SCSS
$custom: #421671;
$custom-light: #7c599b;
$custom-dark: #000000;
JSON
{
  "hex": "#421671",
  "rgb": {
    "r": 66,
    "g": 22,
    "b": 113
  },
  "hsl": {
    "h": 269.011,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.32601,
    "c": 0.14451,
    "h": 300.2
  },
  "luminance": 0.02924
}

Semantic roles & 50–950 ramp

primary
#421671
secondary
#73A73C
accent
#EA3E97
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421671

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

Preview Lab → · Contrast checker → · Palette generator →

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