#421C8C#421C8C

#421C8C is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.169 H 290.6°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#421C8C
RGBrgb(66, 28, 140)
HSLhsl(260, 67%, 33%)
HSVhsv(260, 80%, 55%)
CMYKcmyk(52.9%, 80%, 0%, 45.1%)
CIE-LABlab(23.28, 44.15, -55.02)
CIE-LCHlch(23.28, 70.54, 308.74°)
OKLaboklab(35.86% 0.0595 -0.1581)
OKLCHoklch(35.86% 0.169 290.6)
XYZxyz(7.3943, 3.8819, 25.1655)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C8C #668C1C
analogous
#1C2E8C #421C8C #7A1C8C
triadic
#421C8C #8C421C #1C8C42
tetradic
#421C8C #8C1C2E #668C1C #1C8C7A
square
#421C8C #8C1C2E #668C1C #1C8C7A
split-complementary
#421C8C #8C7A1C #2E8C1C
monochromatic
#120826 #2A1259 #421C8C #5A26BF #7A48DA

Accessibility & contrast

On white

11.82
#421C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#421C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421C8C
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421C8C#FFFFFF#000000##FFFFFF
##421C8C1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398F
Deuteranopia (green-blind)
#00358A
Tritanopia (blue-blind)
#273C54
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #421c8c;
/* rgb */ color: rgb(66, 28, 140);
/* oklch */ color: oklch(35.9% 0.169 290.6);
Tailwind
colors: {
  custom: {
    50: '#7f5daf',
    500: '#421c8c',
    950: '#000000',
  },
}
SCSS
$custom: #421c8c;
$custom-light: #7f5daf;
$custom-dark: #000000;
JSON
{
  "hex": "#421c8c",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 140
  },
  "hsl": {
    "h": 260.357,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35863,
    "c": 0.16895,
    "h": 290.6
  },
  "luminance": 0.03882
}

Semantic roles & 50–950 ramp

primary
#421C8C
secondary
#95BC48
accent
#EA3EAF
background
#F8F5FA
surface
#EFE9F5
border
#CAC5CF
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #421C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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