#421E50#421E50

#421E50 is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.0% C 0.094 H 315.5°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#421E50
RGBrgb(66, 30, 80)
HSLhsl(283, 45%, 22%)
HSVhsv(283, 63%, 31%)
CMYKcmyk(17.5%, 62.5%, 0%, 68.6%)
CIE-LABlab(18.65, 26.82, -23.61)
CIE-LCHlch(18.65, 35.73, 318.64°)
OKLaboklab(31.01% 0.0673 -0.066)
OKLCHoklch(31.01% 0.094 315.5)
XYZxyz(4.1588, 2.6661, 7.8834)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E50 #2C501E
analogous
#291E50 #421E50 #501E45
triadic
#421E50 #50421E #1E5042
tetradic
#421E50 #50291E #2C501E #1E4550
square
#421E50 #50291E #2C501E #1E4550
split-complementary
#421E50 #45501E #1E5029
monochromatic
#120816 #1D0D23 #421E50 #672F7D #8B3FA9

Accessibility & contrast

On white

13.70
#421E50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#421E50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421E50
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E50#FFFFFF#000000##FFFFFF
##421E501.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112B52
Deuteranopia (green-blind)
#1E2E4F
Tritanopia (blue-blind)
#412633
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #421e50;
/* rgb */ color: rgb(66, 30, 80);
/* oklch */ color: oklch(31.0% 0.094 315.5);
Tailwind
colors: {
  custom: {
    50: '#785c81',
    500: '#421e50',
    950: '#000000',
  },
}
SCSS
$custom: #421e50;
$custom-light: #785c81;
$custom-dark: #000000;
JSON
{
  "hex": "#421e50",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 80
  },
  "hsl": {
    "h": 283.2,
    "s": 45.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31011,
    "c": 0.09422,
    "h": 315.5
  },
  "luminance": 0.02666
}

Semantic roles & 50–950 ramp

primary
#421E50
secondary
#578545
accent
#D55377
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09040A
muted
#7B797C

Preview Lab

Preview with #421E50

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

Preview Lab → · Contrast checker → · Palette generator →

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