#421C67#421C67

#421C67 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.5% C 0.125 H 303.2°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#421C67
RGBrgb(66, 28, 103)
HSLhsl(270, 57%, 26%)
HSVhsv(270, 73%, 40%)
CMYKcmyk(35.9%, 72.8%, 0%, 59.6%)
CIE-LABlab(19.92, 33.90, -36.89)
CIE-LCHlch(19.92, 50.10, 312.58°)
OKLaboklab(32.46% 0.0687 -0.1049)
OKLCHoklch(32.46% 0.125 303.2)
XYZxyz(5.1096, 2.9680, 13.1330)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C67 #41671C
analogous
#1C1C67 #421C67 #671C66
triadic
#421C67 #67421C #1C6742
tetradic
#421C67 #671C1C #41671C #1C6667
square
#421C67 #671C1C #41671C #1C6667
split-complementary
#421C67 #66671C #1C671C
monochromatic
#0F0718 #230F37 #421C67 #612997 #8036C7

Accessibility & contrast

On white

13.18
#421C67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#421C67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421C67
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421C67#FFFFFF#000000##FFFFFF
##421C671.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F69
Deuteranopia (green-blind)
#003065
Tritanopia (blue-blind)
#3B2D3F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #421c67;
/* rgb */ color: rgb(66, 28, 103);
/* oklch */ color: oklch(32.5% 0.125 303.2);
Tailwind
colors: {
  custom: {
    50: '#7a5b93',
    500: '#421c67',
    950: '#000000',
  },
}
SCSS
$custom: #421c67;
$custom-light: #7a5b93;
$custom-dark: #000000;
JSON
{
  "hex": "#421c67",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 103
  },
  "hsl": {
    "h": 270.4,
    "s": 57.252,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32457,
    "c": 0.12543,
    "h": 303.2
  },
  "luminance": 0.02968
}

Semantic roles & 50–950 ramp

primary
#421C67
secondary
#6F9C43
accent
#E14793
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #421C67

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

Preview Lab → · Contrast checker → · Palette generator →

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