#421C5D#421C5D

#421C5D is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.7% C 0.113 H 308.1°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#421C5D
RGBrgb(66, 28, 93)
HSLhsl(275, 54%, 24%)
HSVhsv(275, 70%, 36%)
CMYKcmyk(29%, 69.9%, 0%, 63.5%)
CIE-LABlab(19.14, 31.25, -31.56)
CIE-LCHlch(19.14, 44.41, 314.72°)
OKLaboklab(31.65% 0.0699 -0.0892)
OKLCHoklch(31.65% 0.113 308.1)
XYZxyz(4.6374, 2.7791, 10.6459)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C5D #375D1C
analogous
#211C5D #421C5D #5D1C57
triadic
#421C5D #5D421C #1C5D42
tetradic
#421C5D #5D211C #375D1C #1C575D
square
#421C5D #5D211C #375D1C #1C575D
split-complementary
#421C5D #575D1C #1C5D21
monochromatic
#110718 #210E2E #421C5D #632A8C #8538BB

Accessibility & contrast

On white

13.50
#421C5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421C5D
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421C5D#FFFFFF#000000##FFFFFF
##421C5D1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5F
Deuteranopia (green-blind)
#102F5C
Tritanopia (blue-blind)
#3E2A39
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #421c5d;
/* rgb */ color: rgb(66, 28, 93);
/* oklch */ color: oklch(31.7% 0.113 308.1);
Tailwind
colors: {
  custom: {
    50: '#795b8b',
    500: '#421c5d',
    950: '#000000',
  },
}
SCSS
$custom: #421c5d;
$custom-light: #795b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#421c5d",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 93
  },
  "hsl": {
    "h": 275.077,
    "s": 53.719,
    "l": 23.725
  },
  "oklch": {
    "l": 0.31651,
    "c": 0.11337,
    "h": 308.1
  },
  "luminance": 0.02779
}

Semantic roles & 50–950 ramp

primary
#421C5D
secondary
#649242
accent
#DD4B88
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #421C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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