#421D5E#421D5E

#421D5E is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.9% C 0.113 H 307.3°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#421D5E
RGBrgb(66, 29, 94)
HSLhsl(274, 53%, 24%)
HSVhsv(274, 69%, 37%)
CMYKcmyk(29.8%, 69.1%, 0%, 63.1%)
CIE-LABlab(19.41, 30.96, -31.78)
CIE-LCHlch(19.41, 44.37, 314.25°)
OKLaboklab(31.87% 0.0685 -0.0899)
OKLCHoklch(31.87% 0.113 307.3)
XYZxyz(4.7061, 2.8452, 10.8888)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421D5E #395E1D
analogous
#221D5E #421D5E #5E1D5A
triadic
#421D5E #5E421D #1D5E42
tetradic
#421D5E #5E221D #395E1D #1D5A5E
square
#421D5E #5E221D #395E1D #1D5A5E
split-complementary
#421D5E #5A5E1D #1D5E22
monochromatic
#100717 #210F2F #421D5E #632B8D #843ABC

Accessibility & contrast

On white

13.38
#421D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421D5E
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421D5E#FFFFFF#000000##FFFFFF
##421D5E1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E60
Deuteranopia (green-blind)
#102F5D
Tritanopia (blue-blind)
#3E2B3A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #421d5e;
/* rgb */ color: rgb(66, 29, 94);
/* oklch */ color: oklch(31.9% 0.113 307.3);
Tailwind
colors: {
  custom: {
    50: '#795c8c',
    500: '#421d5e',
    950: '#000000',
  },
}
SCSS
$custom: #421d5e;
$custom-light: #795c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#421d5e",
  "rgb": {
    "r": 66,
    "g": 29,
    "b": 94
  },
  "hsl": {
    "h": 274.154,
    "s": 52.846,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31874,
    "c": 0.11303,
    "h": 307.3
  },
  "luminance": 0.02845
}

Semantic roles & 50–950 ramp

primary
#421D5E
secondary
#669344
accent
#DC4C8A
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #421D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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