#421C57#421C57

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

Color values

HEX#421C57
RGBrgb(66, 28, 87)
HSLhsl(279, 51%, 23%)
HSVhsv(279, 68%, 34%)
CMYKcmyk(24.1%, 67.8%, 0%, 65.9%)
CIE-LABlab(18.70, 29.71, -28.25)
CIE-LCHlch(18.70, 41.00, 316.44°)
OKLaboklab(31.2% 0.0703 -0.0795)
OKLCHoklch(31.2% 0.106 311.5)
XYZxyz(4.3820, 2.6770, 9.3008)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C57 #31571C
analogous
#251C57 #421C57 #571C4E
triadic
#421C57 #57421C #1C5742
tetradic
#421C57 #57251C #31571C #1C4E57
square
#421C57 #57251C #31571C #1C4E57
split-complementary
#421C57 #4E571C #1C5725
monochromatic
#120717 #1F0D29 #421C57 #652B85 #883AB4

Accessibility & contrast

On white

13.68
#421C57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421C57
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421C57#FFFFFF#000000##FFFFFF
##421C571.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032C59
Deuteranopia (green-blind)
#162E56
Tritanopia (blue-blind)
#3F2736
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #421c57;
/* rgb */ color: rgb(66, 28, 87);
/* oklch */ color: oklch(31.2% 0.106 311.5);
Tailwind
colors: {
  custom: {
    50: '#795b87',
    500: '#421c57',
    950: '#000000',
  },
}
SCSS
$custom: #421c57;
$custom-light: #795b87;
$custom-dark: #000000;
JSON
{
  "hex": "#421c57",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 87
  },
  "hsl": {
    "h": 278.644,
    "s": 51.304,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31197,
    "c": 0.10614,
    "h": 311.5
  },
  "luminance": 0.02677
}

Semantic roles & 50–950 ramp

primary
#421C57
secondary
#5D8D42
accent
#DB4D7F
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040B
muted
#7B797C

Preview Lab

Preview with #421C57

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

Preview Lab → · Contrast checker → · Palette generator →

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