#421B53#421B53

#421B53 is a dark, moderate purple. Relative luminance 0.026; OKLCH L 30.8% C 0.103 H 314.1°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#421B53
RGBrgb(66, 27, 83)
HSLhsl(282, 51%, 22%)
HSVhsv(282, 67%, 33%)
CMYKcmyk(20.5%, 67.5%, 0%, 67.5%)
CIE-LABlab(18.22, 29.27, -26.33)
CIE-LCHlch(18.22, 39.38, 318.03°)
OKLaboklab(30.76% 0.0718 -0.0739)
OKLCHoklch(30.76% 0.103 314.1)
XYZxyz(4.1998, 2.5668, 8.4561)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421B53 #2C531B
analogous
#261B53 #421B53 #531B48
triadic
#421B53 #53421B #1B5342
tetradic
#421B53 #53261B #2C531B #1B4853
square
#421B53 #53261B #2C531B #1B4853
split-complementary
#421B53 #48531B #1B5326
monochromatic
#120817 #1D0C25 #421B53 #672A81 #8B39AF

Accessibility & contrast

On white

13.88
#421B53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421B53
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421B53#FFFFFF#000000##FFFFFF
##421B531.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072A55
Deuteranopia (green-blind)
#192D52
Tritanopia (blue-blind)
#412534
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #421b53;
/* rgb */ color: rgb(66, 27, 83);
/* oklch */ color: oklch(30.8% 0.103 314.1);
Tailwind
colors: {
  custom: {
    50: '#785a84',
    500: '#421b53',
    950: '#000000',
  },
}
SCSS
$custom: #421b53;
$custom-light: #785a84;
$custom-dark: #000000;
JSON
{
  "hex": "#421b53",
  "rgb": {
    "r": 66,
    "g": 27,
    "b": 83
  },
  "hsl": {
    "h": 281.786,
    "s": 50.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.30758,
    "c": 0.10302,
    "h": 314.1
  },
  "luminance": 0.02567
}

Semantic roles & 50–950 ramp

primary
#421B53
secondary
#578941
accent
#DA4D78
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040B
muted
#7B797C

Preview Lab

Preview with #421B53

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

Preview Lab → · Contrast checker → · Palette generator →

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