#421D56#421D56

#421D56 is a dark, moderate violet. Relative luminance 0.027; OKLCH L 31.3% C 0.103 H 311.8°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#421D56
RGBrgb(66, 29, 86)
HSLhsl(279, 50%, 23%)
HSVhsv(279, 66%, 34%)
CMYKcmyk(23.3%, 66.3%, 0%, 66.3%)
CIE-LABlab(18.84, 28.89, -27.36)
CIE-LCHlch(18.84, 39.79, 316.56°)
OKLaboklab(31.27% 0.0689 -0.0769)
OKLCHoklch(31.27% 0.103 311.8)
XYZxyz(4.3655, 2.7090, 9.0952)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421D56 #31561D
analogous
#251D56 #421D56 #561D4E
triadic
#421D56 #56421D #1D5642
tetradic
#421D56 #56251D #31561D #1D4E56
square
#421D56 #56251D #31561D #1D4E56
split-complementary
#421D56 #4E561D #1D5625
monochromatic
#120817 #1F0E28 #421D56 #652C84 #883CB2

Accessibility & contrast

On white

13.62
#421D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421D56
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421D56#FFFFFF#000000##FFFFFF
##421D561.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072C58
Deuteranopia (green-blind)
#182F55
Tritanopia (blue-blind)
#402836
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #421d56;
/* rgb */ color: rgb(66, 29, 86);
/* oklch */ color: oklch(31.3% 0.103 311.8);
Tailwind
colors: {
  custom: {
    50: '#785b86',
    500: '#421d56',
    950: '#000000',
  },
}
SCSS
$custom: #421d56;
$custom-light: #785b86;
$custom-dark: #000000;
JSON
{
  "hex": "#421d56",
  "rgb": {
    "r": 66,
    "g": 29,
    "b": 86
  },
  "hsl": {
    "h": 278.947,
    "s": 49.565,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31274,
    "c": 0.10326,
    "h": 311.8
  },
  "luminance": 0.02709
}

Semantic roles & 50–950 ramp

primary
#421D56
secondary
#5D8B44
accent
#D94F7F
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040B
muted
#7B797C

Preview Lab

Preview with #421D56

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

Preview Lab → · Contrast checker → · Palette generator →

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