#421B52#421B52

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

Color values

HEX#421B52
RGBrgb(66, 27, 82)
HSLhsl(283, 50%, 21%)
HSVhsv(283, 67%, 32%)
CMYKcmyk(19.5%, 67.1%, 0%, 67.8%)
CIE-LABlab(18.15, 29.03, -25.77)
CIE-LCHlch(18.15, 38.82, 318.41°)
OKLaboklab(30.69% 0.0718 -0.0723)
OKLCHoklch(30.69% 0.102 314.8)
XYZxyz(4.1614, 2.5514, 8.2543)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421B52 #2B521B
analogous
#271B52 #421B52 #521B47
triadic
#421B52 #52421B #1B5242
tetradic
#421B52 #52271B #2B521B #1B4752
square
#421B52 #52271B #2B521B #1B4752
split-complementary
#421B52 #47521B #1B5227
monochromatic
#130817 #1D0C24 #421B52 #672A80 #8C39AE

Accessibility & contrast

On white

13.91
#421B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421B52
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421B52#FFFFFF#000000##FFFFFF
##421B521.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082A54
Deuteranopia (green-blind)
#1A2D51
Tritanopia (blue-blind)
#412533
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #421b52;
/* rgb */ color: rgb(66, 27, 82);
/* oklch */ color: oklch(30.7% 0.102 314.8);
Tailwind
colors: {
  custom: {
    50: '#785a83',
    500: '#421b52',
    950: '#000000',
  },
}
SCSS
$custom: #421b52;
$custom-light: #785a83;
$custom-dark: #000000;
JSON
{
  "hex": "#421b52",
  "rgb": {
    "r": 66,
    "g": 27,
    "b": 82
  },
  "hsl": {
    "h": 282.545,
    "s": 50.459,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30686,
    "c": 0.10183,
    "h": 314.8
  },
  "luminance": 0.02551
}

Semantic roles & 50–950 ramp

primary
#421B52
secondary
#568841
accent
#DA4E77
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040A
muted
#7B797C

Preview Lab

Preview with #421B52

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

Preview Lab → · Contrast checker → · Palette generator →

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