#421C7C#421C7C

#421C7C is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.150 H 295.3°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#421C7C
RGBrgb(66, 28, 124)
HSLhsl(264, 63%, 30%)
HSVhsv(264, 77%, 49%)
CMYKcmyk(46.8%, 77.4%, 0%, 51.4%)
CIE-LABlab(21.74, 39.67, -47.47)
CIE-LCHlch(21.74, 61.86, 309.88°)
OKLaboklab(34.32% 0.0642 -0.136)
OKLCHoklch(34.32% 0.15 295.3)
XYZxyz(6.2991, 3.4438, 19.3977)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C7C #567C1C
analogous
#1C267C #421C7C #721C7C
triadic
#421C7C #7C421C #1C7C42
tetradic
#421C7C #7C1C26 #567C1C #1C7C72
square
#421C7C #7C1C26 #567C1C #1C7C72
split-complementary
#421C7C #7C721C #267C1C
monochromatic
#0D0619 #27114A #421C7C #5D27AE #7A3FD4

Accessibility & contrast

On white

12.43
#421C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#421C7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421C7C
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421C7C#FFFFFF#000000##FFFFFF
##421C7C1.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#00337A
Tritanopia (blue-blind)
#32364B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #421c7c;
/* rgb */ color: rgb(66, 28, 124);
/* oklch */ color: oklch(34.3% 0.150 295.3);
Tailwind
colors: {
  custom: {
    50: '#7d5ca3',
    500: '#421c7c',
    950: '#000000',
  },
}
SCSS
$custom: #421c7c;
$custom-light: #7d5ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#421c7c",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 124
  },
  "hsl": {
    "h": 263.75,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34318,
    "c": 0.15038,
    "h": 295.3
  },
  "luminance": 0.03444
}

Semantic roles & 50–950 ramp

primary
#421C7C
secondary
#85B044
accent
#E642A5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #421C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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