#421C50#421C50

#421C50 is a dark, moderate purple. Relative luminance 0.026; OKLCH L 30.7% C 0.098 H 315.9°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#421C50
RGBrgb(66, 28, 80)
HSLhsl(284, 48%, 21%)
HSVhsv(284, 65%, 31%)
CMYKcmyk(17.5%, 65%, 0%, 68.6%)
CIE-LABlab(18.22, 27.98, -24.29)
CIE-LCHlch(18.22, 37.05, 319.03°)
OKLaboklab(30.7% 0.0703 -0.068)
OKLCHoklch(30.7% 0.098 315.9)
XYZxyz(4.1098, 2.5681, 7.8671)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C50 #2A501C
analogous
#281C50 #421C50 #501C44
triadic
#421C50 #50421C #1C5042
tetradic
#421C50 #50281C #2A501C #1C4450
square
#421C50 #50281C #2A501C #1C4450
split-complementary
#421C50 #44501C #1C5028
monochromatic
#130817 #1D0C23 #421C50 #672C7D #8D3CAB

Accessibility & contrast

On white

13.87
#421C50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#421C50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421C50
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421C50#FFFFFF#000000##FFFFFF
##421C501.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2A52
Deuteranopia (green-blind)
#1C2E4F
Tritanopia (blue-blind)
#412533
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #421c50;
/* rgb */ color: rgb(66, 28, 80);
/* oklch */ color: oklch(30.7% 0.098 315.9);
Tailwind
colors: {
  custom: {
    50: '#785b81',
    500: '#421c50',
    950: '#000000',
  },
}
SCSS
$custom: #421c50;
$custom-light: #785b81;
$custom-dark: #000000;
JSON
{
  "hex": "#421c50",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 80
  },
  "hsl": {
    "h": 283.846,
    "s": 48.148,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30697,
    "c": 0.09776,
    "h": 315.9
  },
  "luminance": 0.02568
}

Semantic roles & 50–950 ramp

primary
#421C50
secondary
#548642
accent
#D85075
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09040A
muted
#7B797C

Preview Lab

Preview with #421C50

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

Preview Lab → · Contrast checker → · Palette generator →

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