#421D5F#421D5F

#421D5F is a dark, moderate violet. Relative luminance 0.029; OKLCH L 32.0% C 0.114 H 306.8°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#421D5F
RGBrgb(66, 29, 95)
HSLhsl(274, 53%, 24%)
HSVhsv(274, 69%, 37%)
CMYKcmyk(30.5%, 69.5%, 0%, 62.7%)
CIE-LABlab(19.49, 31.22, -32.32)
CIE-LCHlch(19.49, 44.94, 314.01°)
OKLaboklab(31.95% 0.0685 -0.0915)
OKLCHoklch(31.95% 0.114 306.8)
XYZxyz(4.7513, 2.8633, 11.1266)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421D5F #3A5F1D
analogous
#211D5F #421D5F #5F1D5B
triadic
#421D5F #5F421D #1D5F42
tetradic
#421D5F #5F211D #3A5F1D #1D5B5F
square
#421D5F #5F211D #3A5F1D #1D5B5F
split-complementary
#421D5F #5B5F1D #1D5F21
monochromatic
#100717 #210F30 #421D5F #632B8E #833ABD

Accessibility & contrast

On white

13.35
#421D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#421D5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421D5F
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421D5F#FFFFFF#000000##FFFFFF
##421D5F1.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E61
Deuteranopia (green-blind)
#0E2F5E
Tritanopia (blue-blind)
#3D2B3B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #421d5f;
/* rgb */ color: rgb(66, 29, 95);
/* oklch */ color: oklch(32.0% 0.114 306.8);
Tailwind
colors: {
  custom: {
    50: '#795c8d',
    500: '#421d5f',
    950: '#000000',
  },
}
SCSS
$custom: #421d5f;
$custom-light: #795c8d;
$custom-dark: #000000;
JSON
{
  "hex": "#421d5f",
  "rgb": {
    "r": 66,
    "g": 29,
    "b": 95
  },
  "hsl": {
    "h": 273.636,
    "s": 53.226,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31952,
    "c": 0.11425,
    "h": 306.8
  },
  "luminance": 0.02863
}

Semantic roles & 50–950 ramp

primary
#421D5F
secondary
#679444
accent
#DD4B8B
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #421D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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