#421D59#421D59

#421D59 is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.5% C 0.107 H 310.1°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#421D59
RGBrgb(66, 29, 89)
HSLhsl(277, 51%, 23%)
HSVhsv(277, 67%, 35%)
CMYKcmyk(25.8%, 67.4%, 0%, 65.1%)
CIE-LABlab(19.05, 29.66, -29.03)
CIE-LCHlch(19.05, 41.51, 315.61°)
OKLaboklab(31.49% 0.0688 -0.0818)
OKLCHoklch(31.49% 0.107 310.1)
XYZxyz(4.4890, 2.7583, 9.7452)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421D59 #34591D
analogous
#241D59 #421D59 #591D52
triadic
#421D59 #59421D #1D5942
tetradic
#421D59 #59241D #34591D #1D5259
square
#421D59 #59241D #34591D #1D5259
split-complementary
#421D59 #52591D #1D5924
monochromatic
#110817 #200E2B #421D59 #642C87 #863BB5

Accessibility & contrast

On white

13.53
#421D59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#421D59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421D59
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421D59#FFFFFF#000000##FFFFFF
##421D591.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032D5B
Deuteranopia (green-blind)
#162F58
Tritanopia (blue-blind)
#3F2938
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #421d59;
/* rgb */ color: rgb(66, 29, 89);
/* oklch */ color: oklch(31.5% 0.107 310.1);
Tailwind
colors: {
  custom: {
    50: '#795b88',
    500: '#421d59',
    950: '#000000',
  },
}
SCSS
$custom: #421d59;
$custom-light: #795b88;
$custom-dark: #000000;
JSON
{
  "hex": "#421d59",
  "rgb": {
    "r": 66,
    "g": 29,
    "b": 89
  },
  "hsl": {
    "h": 277,
    "s": 50.847,
    "l": 23.137
  },
  "oklch": {
    "l": 0.31494,
    "c": 0.10692,
    "h": 310.1
  },
  "luminance": 0.02758
}

Semantic roles & 50–950 ramp

primary
#421D59
secondary
#608E44
accent
#DA4D83
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040B
muted
#7B797C

Preview Lab

Preview with #421D59

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

Preview Lab → · Contrast checker → · Palette generator →

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