#421C6F#421C6F

#421C6F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.135 H 299.9°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#421C6F
RGBrgb(66, 28, 111)
HSLhsl(267, 60%, 27%)
HSVhsv(267, 75%, 44%)
CMYKcmyk(40.5%, 74.8%, 0%, 56.5%)
CIE-LABlab(20.58, 36.07, -41.02)
CIE-LCHlch(20.58, 54.62, 311.33°)
OKLaboklab(33.14% 0.0673 -0.117)
OKLCHoklch(33.14% 0.135 299.9)
XYZxyz(5.5305, 3.1364, 15.3499)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C6F #496F1C
analogous
#1C206F #421C6F #6C1C6F
triadic
#421C6F #6F421C #1C6F42
tetradic
#421C6F #6F1C20 #496F1C #1C6F6C
square
#421C6F #6F1C20 #496F1C #1C6F6C
split-complementary
#421C6F #6F6C1C #206F1C
monochromatic
#0F0618 #25103E #421C6F #5F28A0 #7C38CD

Accessibility & contrast

On white

12.91
#421C6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#421C6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421C6F
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421C6F#FFFFFF#000000##FFFFFF
##421C6F1.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #421c6f;
/* rgb */ color: rgb(66, 28, 111);
/* oklch */ color: oklch(33.1% 0.135 299.9);
Tailwind
colors: {
  custom: {
    50: '#7b5c99',
    500: '#421c6f',
    950: '#000000',
  },
}
SCSS
$custom: #421c6f;
$custom-light: #7b5c99;
$custom-dark: #000000;
JSON
{
  "hex": "#421c6f",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 111
  },
  "hsl": {
    "h": 267.47,
    "s": 59.712,
    "l": 27.255
  },
  "oklch": {
    "l": 0.33141,
    "c": 0.13501,
    "h": 299.9
  },
  "luminance": 0.03136
}

Semantic roles & 50–950 ramp

primary
#421C6F
secondary
#77A443
accent
#E3459B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421C6F

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

Preview Lab → · Contrast checker → · Palette generator →

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