#421C5C#421C5C

#421C5C is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.6% C 0.112 H 308.6°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#421C5C
RGBrgb(66, 28, 92)
HSLhsl(276, 53%, 24%)
HSVhsv(276, 70%, 36%)
CMYKcmyk(28.3%, 69.6%, 0%, 63.9%)
CIE-LABlab(19.06, 30.99, -31.01)
CIE-LCHlch(19.06, 43.85, 314.98°)
OKLaboklab(31.57% 0.07 -0.0876)
OKLCHoklch(31.57% 0.112 308.6)
XYZxyz(4.5934, 2.7615, 10.4142)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C5C #365C1C
analogous
#221C5C #421C5C #5C1C56
triadic
#421C5C #5C421C #1C5C42
tetradic
#421C5C #5C221C #365C1C #1C565C
square
#421C5C #5C221C #365C1C #1C565C
split-complementary
#421C5C #565C1C #1C5C22
monochromatic
#110717 #200E2D #421C5C #642A8B #8539BA

Accessibility & contrast

On white

13.53
#421C5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#421C5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421C5C
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421C5C#FFFFFF#000000##FFFFFF
##421C5C1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5E
Deuteranopia (green-blind)
#112F5B
Tritanopia (blue-blind)
#3E2939
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #421c5c;
/* rgb */ color: rgb(66, 28, 92);
/* oklch */ color: oklch(31.6% 0.112 308.6);
Tailwind
colors: {
  custom: {
    50: '#795b8b',
    500: '#421c5c',
    950: '#000000',
  },
}
SCSS
$custom: #421c5c;
$custom-light: #795b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#421c5c",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 92
  },
  "hsl": {
    "h": 275.625,
    "s": 53.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.31574,
    "c": 0.11216,
    "h": 308.6
  },
  "luminance": 0.02761
}

Semantic roles & 50–950 ramp

primary
#421C5C
secondary
#629142
accent
#DD4B86
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #421C5C

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

Preview Lab → · Contrast checker → · Palette generator →

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