#421C55#421C55

#421C55 is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.1% C 0.104 H 312.7°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#421C55
RGBrgb(66, 28, 85)
HSLhsl(280, 50%, 22%)
HSVhsv(280, 67%, 33%)
CMYKcmyk(22.4%, 67.1%, 0%, 66.7%)
CIE-LABlab(18.56, 29.21, -27.13)
CIE-LCHlch(18.56, 39.87, 317.11°)
OKLaboklab(31.05% 0.0703 -0.0763)
OKLCHoklch(31.05% 0.104 312.7)
XYZxyz(4.3014, 2.6448, 8.8765)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C55 #2F551C
analogous
#261C55 #421C55 #551C4C
triadic
#421C55 #55421C #1C5542
tetradic
#421C55 #55261C #2F551C #1C4C55
square
#421C55 #55261C #2F551C #1C4C55
split-complementary
#421C55 #4C551C #1C5526
monochromatic
#120817 #1E0D27 #421C55 #662B83 #893AB1

Accessibility & contrast

On white

13.73
#421C55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421C55
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421C55#FFFFFF#000000##FFFFFF
##421C551.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062B57
Deuteranopia (green-blind)
#182E54
Tritanopia (blue-blind)
#402735
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #421c55;
/* rgb */ color: rgb(66, 28, 85);
/* oklch */ color: oklch(31.1% 0.104 312.7);
Tailwind
colors: {
  custom: {
    50: '#785b85',
    500: '#421c55',
    950: '#000000',
  },
}
SCSS
$custom: #421c55;
$custom-light: #785b85;
$custom-dark: #000000;
JSON
{
  "hex": "#421c55",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 85
  },
  "hsl": {
    "h": 280,
    "s": 50.442,
    "l": 22.157
  },
  "oklch": {
    "l": 0.31051,
    "c": 0.10373,
    "h": 312.7
  },
  "luminance": 0.02645
}

Semantic roles & 50–950 ramp

primary
#421C55
secondary
#5A8B42
accent
#DA4E7D
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040B
muted
#7B797C

Preview Lab

Preview with #421C55

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

Preview Lab → · Contrast checker → · Palette generator →

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