#421C56#421C56

#421C56 is a dark, moderate violet. Relative luminance 0.027; OKLCH L 31.1% C 0.105 H 312.1°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#421C56
RGBrgb(66, 28, 86)
HSLhsl(279, 51%, 22%)
HSVhsv(279, 67%, 34%)
CMYKcmyk(23.3%, 67.4%, 0%, 66.3%)
CIE-LABlab(18.63, 29.46, -27.69)
CIE-LCHlch(18.63, 40.43, 316.77°)
OKLaboklab(31.12% 0.0703 -0.0779)
OKLCHoklch(31.12% 0.105 312.1)
XYZxyz(4.3414, 2.6608, 9.0872)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C56 #30561C
analogous
#251C56 #421C56 #561C4D
triadic
#421C56 #56421C #1C5642
tetradic
#421C56 #56251C #30561C #1C4D56
square
#421C56 #56251C #30561C #1C4D56
split-complementary
#421C56 #4D561C #1C5625
monochromatic
#120817 #1F0D28 #421C56 #652B84 #893AB2

Accessibility & contrast

On white

13.71
#421C56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421C56
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421C56#FFFFFF#000000##FFFFFF
##421C561.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052B58
Deuteranopia (green-blind)
#172E55
Tritanopia (blue-blind)
#402736
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #421c56;
/* rgb */ color: rgb(66, 28, 86);
/* oklch */ color: oklch(31.1% 0.105 312.1);
Tailwind
colors: {
  custom: {
    50: '#795b86',
    500: '#421c56',
    950: '#000000',
  },
}
SCSS
$custom: #421c56;
$custom-light: #795b86;
$custom-dark: #000000;
JSON
{
  "hex": "#421c56",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 86
  },
  "hsl": {
    "h": 279.31,
    "s": 50.877,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31123,
    "c": 0.10493,
    "h": 312.1
  },
  "luminance": 0.02661
}

Semantic roles & 50–950 ramp

primary
#421C56
secondary
#5C8C42
accent
#DA4D7E
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040B
muted
#7B797C

Preview Lab

Preview with #421C56

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

Preview Lab → · Contrast checker → · Palette generator →

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