#421C6C#421C6C

#421C6C is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.9% C 0.131 H 301.1°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#421C6C
RGBrgb(66, 28, 108)
HSLhsl(269, 59%, 27%)
HSVhsv(269, 74%, 42%)
CMYKcmyk(38.9%, 74.1%, 0%, 57.6%)
CIE-LABlab(20.33, 35.25, -39.49)
CIE-LCHlch(20.33, 52.93, 311.76°)
OKLaboklab(32.88% 0.0679 -0.1125)
OKLCHoklch(32.88% 0.131 301.1)
XYZxyz(5.3681, 3.0714, 14.4945)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C6C #466C1C
analogous
#1C1E6C #421C6C #6A1C6C
triadic
#421C6C #6C421C #1C6C42
tetradic
#421C6C #6C1C1E #466C1C #1C6C6A
square
#421C6C #6C1C1E #466C1C #1C6C6A
split-complementary
#421C6C #6C6A1C #1E6C1C
monochromatic
#0F0618 #240F3B #421C6C #60299D #7E37CB

Accessibility & contrast

On white

13.01
#421C6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#421C6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421C6C
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421C6C#FFFFFF#000000##FFFFFF
##421C6C1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #421c6c;
/* rgb */ color: rgb(66, 28, 108);
/* oklch */ color: oklch(32.9% 0.131 301.1);
Tailwind
colors: {
  custom: {
    50: '#7b5c97',
    500: '#421c6c',
    950: '#000000',
  },
}
SCSS
$custom: #421c6c;
$custom-light: #7b5c97;
$custom-dark: #000000;
JSON
{
  "hex": "#421c6c",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 108
  },
  "hsl": {
    "h": 268.5,
    "s": 58.824,
    "l": 26.667
  },
  "oklch": {
    "l": 0.3288,
    "c": 0.13142,
    "h": 301.1
  },
  "luminance": 0.03071
}

Semantic roles & 50–950 ramp

primary
#421C6C
secondary
#74A143
accent
#E24698
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #421C6C

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

Preview Lab → · Contrast checker → · Palette generator →

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