#421D58#421D58

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

Color values

HEX#421D58
RGBrgb(66, 29, 88)
HSLhsl(278, 50%, 23%)
HSVhsv(278, 67%, 35%)
CMYKcmyk(25%, 67%, 0%, 65.5%)
CIE-LABlab(18.98, 29.40, -28.48)
CIE-LCHlch(18.98, 40.93, 315.92°)
OKLaboklab(31.42% 0.0688 -0.0802)
OKLCHoklch(31.42% 0.106 310.6)
XYZxyz(4.4473, 2.7417, 9.5255)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421D58 #33581D
analogous
#241D58 #421D58 #581D50
triadic
#421D58 #58421D #1D5842
tetradic
#421D58 #58241D #33581D #1D5058
square
#421D58 #58241D #33581D #1D5058
split-complementary
#421D58 #50581D #1D5824
monochromatic
#110817 #1F0E2A #421D58 #652C86 #873BB4

Accessibility & contrast

On white

13.56
#421D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421D58
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421D58#FFFFFF#000000##FFFFFF
##421D581.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042C5A
Deuteranopia (green-blind)
#172F57
Tritanopia (blue-blind)
#3F2837
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #421d58;
/* rgb */ color: rgb(66, 29, 88);
/* oklch */ color: oklch(31.4% 0.106 310.6);
Tailwind
colors: {
  custom: {
    50: '#795b87',
    500: '#421d58',
    950: '#000000',
  },
}
SCSS
$custom: #421d58;
$custom-light: #795b87;
$custom-dark: #000000;
JSON
{
  "hex": "#421d58",
  "rgb": {
    "r": 66,
    "g": 29,
    "b": 88
  },
  "hsl": {
    "h": 277.627,
    "s": 50.427,
    "l": 22.941
  },
  "oklch": {
    "l": 0.3142,
    "c": 0.1057,
    "h": 310.6
  },
  "luminance": 0.02742
}

Semantic roles & 50–950 ramp

primary
#421D58
secondary
#5F8D44
accent
#DA4E82
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040B
muted
#7B797C

Preview Lab

Preview with #421D58

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

Preview Lab → · Contrast checker → · Palette generator →

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