#421147#421147

#421147 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.6% C 0.106 H 323.9°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#421147
RGBrgb(66, 17, 71)
HSLhsl(294, 61%, 17%)
HSVhsv(294, 76%, 28%)
CMYKcmyk(7%, 76.1%, 0%, 72.2%)
CIE-LABlab(15.56, 31.63, -22.36)
CIE-LCHlch(15.56, 38.73, 324.74°)
OKLaboklab(28.58% 0.0854 -0.0622)
OKLCHoklch(28.58% 0.106 323.9)
XYZxyz(3.5844, 2.0143, 6.1600)
Luminance0.0201 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421147 #164711
analogous
#271147 #421147 #471131
triadic
#421147 #474211 #114742
tetradic
#421147 #472711 #164711 #113147
square
#421147 #472711 #164711 #113147
split-complementary
#421147 #314711 #114727
monochromatic
#170619 #170619 #421147 #701D78 #9E29AA

Accessibility & contrast

On white

14.97
#421147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#421147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421147
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421147#FFFFFF#000000##FFFFFF
##4211471.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042349
Deuteranopia (green-blind)
#1A2946
Tritanopia (blue-blind)
#431A2A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #421147;
/* rgb */ color: rgb(66, 17, 71);
/* oklch */ color: oklch(28.6% 0.106 323.9);
Tailwind
colors: {
  custom: {
    50: '#79547a',
    500: '#421147',
    950: '#000000',
  },
}
SCSS
$custom: #421147;
$custom-light: #79547a;
$custom-dark: #000000;
JSON
{
  "hex": "#421147",
  "rgb": {
    "r": 66,
    "g": 17,
    "b": 71
  },
  "hsl": {
    "h": 294.444,
    "s": 61.364,
    "l": 17.255
  },
  "oklch": {
    "l": 0.28578,
    "c": 0.10566,
    "h": 323.9
  },
  "luminance": 0.02014
}

Semantic roles & 50–950 ramp

primary
#421147
secondary
#3A8133
accent
#E44352
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090309
muted
#7B787B

Preview Lab

Preview with #421147

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

Preview Lab → · Contrast checker → · Palette generator →

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