#421040#421040

#421040 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.0% C 0.100 H 329.5°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#421040
RGBrgb(66, 16, 64)
HSLhsl(302, 61%, 16%)
HSVhsv(302, 76%, 26%)
CMYKcmyk(0%, 75.8%, 3%, 74.1%)
CIE-LABlab(14.95, 30.65, -18.45)
CIE-LCHlch(14.95, 35.78, 328.96°)
OKLaboklab(27.99% 0.0865 -0.0509)
OKLCHoklch(27.99% 0.1 329.5)
XYZxyz(3.3574, 1.8992, 5.0392)
Luminance0.0190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421040 #104212
analogous
#2B1042 #421040 #421027
triadic
#421040 #404210 #104042
tetradic
#421040 #422B10 #104212 #102742
square
#421040 #422B10 #104212 #102742
split-complementary
#421040 #274210 #10422B
monochromatic
#190618 #190618 #421040 #731C70 #A528A0

Accessibility & contrast

On white

15.22
#421040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#421040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421040
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421040#FFFFFF#000000##FFFFFF
##4210401.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2141
Deuteranopia (green-blind)
#1E283F
Tritanopia (blue-blind)
#451626
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #421040;
/* rgb */ color: rgb(66, 16, 64);
/* oklch */ color: oklch(28.0% 0.100 329.5);
Tailwind
colors: {
  custom: {
    50: '#785375',
    500: '#421040',
    950: '#000000',
  },
}
SCSS
$custom: #421040;
$custom-light: #785375;
$custom-dark: #000000;
JSON
{
  "hex": "#421040",
  "rgb": {
    "r": 66,
    "g": 16,
    "b": 64
  },
  "hsl": {
    "h": 302.4,
    "s": 60.976,
    "l": 16.078
  },
  "oklch": {
    "l": 0.27991,
    "c": 0.10032,
    "h": 329.5
  },
  "luminance": 0.01899
}

Semantic roles & 50–950 ramp

primary
#421040
secondary
#327C35
accent
#E44A44
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090308
muted
#7B787B

Preview Lab

Preview with #421040

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

Preview Lab → · Contrast checker → · Palette generator →

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