#421D6C#421D6C

#421D6C is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.0% C 0.130 H 300.9°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#421D6C
RGBrgb(66, 29, 108)
HSLhsl(268, 58%, 27%)
HSVhsv(268, 73%, 42%)
CMYKcmyk(38.9%, 73.1%, 0%, 57.6%)
CIE-LABlab(20.52, 34.72, -39.18)
CIE-LCHlch(20.52, 52.35, 311.55°)
OKLaboklab(33.02% 0.0667 -0.1116)
OKLCHoklch(33.02% 0.13 300.9)
XYZxyz(5.3922, 3.1197, 14.5025)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421D6C #476C1D
analogous
#1D206C #421D6C #6A1D6C
triadic
#421D6C #6C421D #1D6C42
tetradic
#421D6C #6C1D20 #476C1D #1D6C6A
square
#421D6C #6C1D20 #476C1D #1D6C6A
split-complementary
#421D6C #6C6A1D #206C1D
monochromatic
#0F0618 #25103C #421D6C #5F2A9C #7D39CA

Accessibility & contrast

On white

12.93
#421D6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#421D6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421D6C
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421D6C#FFFFFF#000000##FFFFFF
##421D6C1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316E
Deuteranopia (green-blind)
#00316A
Tritanopia (blue-blind)
#393042
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #421d6c;
/* rgb */ color: rgb(66, 29, 108);
/* oklch */ color: oklch(33.0% 0.130 300.9);
Tailwind
colors: {
  custom: {
    50: '#7b5c97',
    500: '#421d6c',
    950: '#000000',
  },
}
SCSS
$custom: #421d6c;
$custom-light: #7b5c97;
$custom-dark: #000000;
JSON
{
  "hex": "#421d6c",
  "rgb": {
    "r": 66,
    "g": 29,
    "b": 108
  },
  "hsl": {
    "h": 268.101,
    "s": 57.664,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33015,
    "c": 0.13008,
    "h": 300.9
  },
  "luminance": 0.0312
}

Semantic roles & 50–950 ramp

primary
#421D6C
secondary
#75A144
accent
#E14799
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #421D6C

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

Preview Lab → · Contrast checker → · Palette generator →

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