#421D55#421D55

#421D55 is a dark, moderate violet. Relative luminance 0.027; OKLCH L 31.2% C 0.102 H 312.5°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#421D55
RGBrgb(66, 29, 85)
HSLhsl(280, 49%, 22%)
HSVhsv(280, 66%, 33%)
CMYKcmyk(22.4%, 65.9%, 0%, 66.7%)
CIE-LABlab(18.77, 28.64, -26.80)
CIE-LCHlch(18.77, 39.22, 316.90°)
OKLaboklab(31.2% 0.0689 -0.0753)
OKLCHoklch(31.2% 0.102 312.5)
XYZxyz(4.3255, 2.6930, 8.8845)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421D55 #30551D
analogous
#261D55 #421D55 #551D4C
triadic
#421D55 #55421D #1D5542
tetradic
#421D55 #55261D #30551D #1D4C55
square
#421D55 #55261D #30551D #1D4C55
split-complementary
#421D55 #4C551D #1D5526
monochromatic
#120817 #1F0D27 #421D55 #652D83 #893CB0

Accessibility & contrast

On white

13.65
#421D55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#421D55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421D55
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421D55#FFFFFF#000000##FFFFFF
##421D551.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092C57
Deuteranopia (green-blind)
#192E54
Tritanopia (blue-blind)
#402736
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #421d55;
/* rgb */ color: rgb(66, 29, 85);
/* oklch */ color: oklch(31.2% 0.102 312.5);
Tailwind
colors: {
  custom: {
    50: '#785b85',
    500: '#421d55',
    950: '#000000',
  },
}
SCSS
$custom: #421d55;
$custom-light: #785b85;
$custom-dark: #000000;
JSON
{
  "hex": "#421d55",
  "rgb": {
    "r": 66,
    "g": 29,
    "b": 85
  },
  "hsl": {
    "h": 279.643,
    "s": 49.123,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31202,
    "c": 0.10205,
    "h": 312.5
  },
  "luminance": 0.02693
}

Semantic roles & 50–950 ramp

primary
#421D55
secondary
#5C8A44
accent
#D94F7E
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040B
muted
#7B797C

Preview Lab

Preview with #421D55

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

Preview Lab → · Contrast checker → · Palette generator →

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