#421C75#421C75

#421C75 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.7% C 0.142 H 297.7°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#421C75
RGBrgb(66, 28, 117)
HSLhsl(266, 61%, 28%)
HSVhsv(266, 76%, 46%)
CMYKcmyk(43.6%, 76.1%, 0%, 54.1%)
CIE-LABlab(21.11, 37.72, -44.03)
CIE-LCHlch(21.11, 57.98, 310.59°)
OKLaboklab(33.67% 0.066 -0.1259)
OKLCHoklch(33.67% 0.142 297.7)
XYZxyz(5.8721, 3.2730, 17.1485)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C75 #4F751C
analogous
#1C2275 #421C75 #6E1C75
triadic
#421C75 #75421C #1C7542
tetradic
#421C75 #751C22 #4F751C #1C756E
square
#421C75 #751C22 #4F751C #1C756E
split-complementary
#421C75 #756E1C #22751C
monochromatic
#0E0619 #261044 #421C75 #5E28A6 #7B3BD0

Accessibility & contrast

On white

12.69
#421C75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#421C75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421C75
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421C75#FFFFFF#000000##FFFFFF
##421C751.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003378
Deuteranopia (green-blind)
#003273
Tritanopia (blue-blind)
#353347
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #421c75;
/* rgb */ color: rgb(66, 28, 117);
/* oklch */ color: oklch(33.7% 0.142 297.7);
Tailwind
colors: {
  custom: {
    50: '#7c5c9e',
    500: '#421c75',
    950: '#000000',
  },
}
SCSS
$custom: #421c75;
$custom-light: #7c5c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#421c75",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 117
  },
  "hsl": {
    "h": 265.618,
    "s": 61.379,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33675,
    "c": 0.14213,
    "h": 297.7
  },
  "luminance": 0.03273
}

Semantic roles & 50–950 ramp

primary
#421C75
secondary
#7EA944
accent
#E443A0
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421C75

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

Preview Lab → · Contrast checker → · Palette generator →

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