#421C5F#421C5F

#421C5F is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.8% C 0.116 H 307.0°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#421C5F
RGBrgb(66, 28, 95)
HSLhsl(274, 54%, 24%)
HSVhsv(274, 71%, 37%)
CMYKcmyk(30.5%, 70.5%, 0%, 62.7%)
CIE-LABlab(19.29, 31.77, -32.64)
CIE-LCHlch(19.29, 45.55, 314.23°)
OKLaboklab(31.81% 0.0697 -0.0924)
OKLCHoklch(31.81% 0.116 307)
XYZxyz(4.7271, 2.8150, 11.1186)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C5F #395F1C
analogous
#211C5F #421C5F #5F1C5B
triadic
#421C5F #5F421C #1C5F42
tetradic
#421C5F #5F211C #395F1C #1C5B5F
square
#421C5F #5F211C #395F1C #1C5B5F
split-complementary
#421C5F #5B5F1C #1C5F21
monochromatic
#100718 #210E30 #421C5F #632A8E #8438BE

Accessibility & contrast

On white

13.44
#421C5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#421C5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421C5F
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421C5F#FFFFFF#000000##FFFFFF
##421C5F1.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D61
Deuteranopia (green-blind)
#0D2F5E
Tritanopia (blue-blind)
#3D2A3B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #421c5f;
/* rgb */ color: rgb(66, 28, 95);
/* oklch */ color: oklch(31.8% 0.116 307.0);
Tailwind
colors: {
  custom: {
    50: '#795b8d',
    500: '#421c5f',
    950: '#000000',
  },
}
SCSS
$custom: #421c5f;
$custom-light: #795b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#421c5f",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 95
  },
  "hsl": {
    "h": 274.03,
    "s": 54.472,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31808,
    "c": 0.11578,
    "h": 307
  },
  "luminance": 0.02815
}

Semantic roles & 50–950 ramp

primary
#421C5F
secondary
#669442
accent
#DE4A8A
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #421C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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