#421D6F#421D6F

#421D6F is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.3% C 0.134 H 299.7°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#421D6F
RGBrgb(66, 29, 111)
HSLhsl(267, 59%, 27%)
HSVhsv(267, 74%, 44%)
CMYKcmyk(40.5%, 73.9%, 0%, 56.5%)
CIE-LABlab(20.77, 35.55, -40.71)
CIE-LCHlch(20.77, 54.05, 311.12°)
OKLaboklab(33.27% 0.0662 -0.1162)
OKLCHoklch(33.27% 0.134 299.7)
XYZxyz(5.5547, 3.1846, 15.3579)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421D6F #4A6F1D
analogous
#1D216F #421D6F #6B1D6F
triadic
#421D6F #6F421D #1D6F42
tetradic
#421D6F #6F1D21 #4A6F1D #1D6F6B
square
#421D6F #6F1D21 #4A6F1D #1D6F6B
split-complementary
#421D6F #6F6B1D #216F1D
monochromatic
#0E0618 #25103E #421D6F #5F2AA0 #7C3BCC

Accessibility & contrast

On white

12.83
#421D6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#421D6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421D6F
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421D6F#FFFFFF#000000##FFFFFF
##421D6F1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003271
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#383144
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #421d6f;
/* rgb */ color: rgb(66, 29, 111);
/* oklch */ color: oklch(33.3% 0.134 299.7);
Tailwind
colors: {
  custom: {
    50: '#7b5c99',
    500: '#421d6f',
    950: '#000000',
  },
}
SCSS
$custom: #421d6f;
$custom-light: #7b5c99;
$custom-dark: #000000;
JSON
{
  "hex": "#421d6f",
  "rgb": {
    "r": 66,
    "g": 29,
    "b": 111
  },
  "hsl": {
    "h": 267.073,
    "s": 58.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.33273,
    "c": 0.13369,
    "h": 299.7
  },
  "luminance": 0.03185
}

Semantic roles & 50–950 ramp

primary
#421D6F
secondary
#79A344
accent
#E2469B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421D6F

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

Preview Lab → · Contrast checker → · Palette generator →

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