#421247#421247

#421247 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.7% C 0.104 H 323.8°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#421247
RGBrgb(66, 18, 71)
HSLhsl(294, 60%, 17%)
HSVhsv(294, 75%, 28%)
CMYKcmyk(7%, 74.6%, 0%, 72.2%)
CIE-LABlab(15.73, 31.17, -22.10)
CIE-LCHlch(15.73, 38.21, 324.66°)
OKLaboklab(28.7% 0.0841 -0.0615)
OKLCHoklch(28.7% 0.104 323.8)
XYZxyz(3.6003, 2.0460, 6.1653)
Luminance0.0205 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421247 #174712
analogous
#281247 #421247 #471231
triadic
#421247 #474212 #124742
tetradic
#421247 #472812 #174712 #123147
square
#421247 #472812 #174712 #123147
split-complementary
#421247 #314712 #124728
monochromatic
#170618 #170618 #421247 #6F1E78 #9D2BA9

Accessibility & contrast

On white

14.90
#421247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#421247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421247
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421247#FFFFFF#000000##FFFFFF
##4212471.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062449
Deuteranopia (green-blind)
#1B2946
Tritanopia (blue-blind)
#431B2A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #421247;
/* rgb */ color: rgb(66, 18, 71);
/* oklch */ color: oklch(28.7% 0.104 323.8);
Tailwind
colors: {
  custom: {
    50: '#79557a',
    500: '#421247',
    950: '#000000',
  },
}
SCSS
$custom: #421247;
$custom-light: #79557a;
$custom-dark: #000000;
JSON
{
  "hex": "#421247",
  "rgb": {
    "r": 66,
    "g": 18,
    "b": 71
  },
  "hsl": {
    "h": 294.34,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28697,
    "c": 0.10419,
    "h": 323.8
  },
  "luminance": 0.02046
}

Semantic roles & 50–950 ramp

primary
#421247
secondary
#3C8035
accent
#E34554
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090309
muted
#7B787B

Preview Lab

Preview with #421247

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

Preview Lab → · Contrast checker → · Palette generator →

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