#421D5B#421D5B

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

Color values

HEX#421D5B
RGBrgb(66, 29, 91)
HSLhsl(276, 52%, 24%)
HSVhsv(276, 68%, 36%)
CMYKcmyk(27.5%, 68.1%, 0%, 64.3%)
CIE-LABlab(19.19, 30.18, -30.14)
CIE-LCHlch(19.19, 42.65, 315.04°)
OKLaboklab(31.64% 0.0687 -0.0851)
OKLCHoklch(31.64% 0.109 308.9)
XYZxyz(4.5741, 2.7924, 10.1935)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421D5B #365B1D
analogous
#231D5B #421D5B #5B1D55
triadic
#421D5B #5B421D #1D5B42
tetradic
#421D5B #5B231D #365B1D #1D555B
square
#421D5B #5B231D #365B1D #1D555B
split-complementary
#421D5B #555B1D #1D5B23
monochromatic
#110717 #200E2D #421D5B #642C89 #853BB8

Accessibility & contrast

On white

13.48
#421D5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421D5B
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421D5B#FFFFFF#000000##FFFFFF
##421D5B1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5D
Deuteranopia (green-blind)
#132F5A
Tritanopia (blue-blind)
#3E2939
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #421d5b;
/* rgb */ color: rgb(66, 29, 91);
/* oklch */ color: oklch(31.6% 0.109 308.9);
Tailwind
colors: {
  custom: {
    50: '#795c8a',
    500: '#421d5b',
    950: '#000000',
  },
}
SCSS
$custom: #421d5b;
$custom-light: #795c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#421d5b",
  "rgb": {
    "r": 66,
    "g": 29,
    "b": 91
  },
  "hsl": {
    "h": 275.806,
    "s": 51.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.31644,
    "c": 0.10937,
    "h": 308.9
  },
  "luminance": 0.02792
}

Semantic roles & 50–950 ramp

primary
#421D5B
secondary
#629044
accent
#DB4D86
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #421D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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