#421B60#421B60

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

Color values

HEX#421B60
RGBrgb(66, 27, 96)
HSLhsl(274, 56%, 24%)
HSVhsv(274, 72%, 38%)
CMYKcmyk(31.3%, 71.9%, 0%, 62.4%)
CIE-LABlab(19.17, 32.58, -33.49)
CIE-LCHlch(19.17, 46.72, 314.20°)
OKLaboklab(31.75% 0.0709 -0.0949)
OKLCHoklch(31.75% 0.118 306.8)
XYZxyz(4.7496, 2.7867, 11.3517)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421B60 #39601B
analogous
#201B60 #421B60 #601B5C
triadic
#421B60 #60421B #1B6042
tetradic
#421B60 #60201B #39601B #1B5C60
square
#421B60 #60201B #39601B #1B5C60
split-complementary
#421B60 #5C601B #1B6020
monochromatic
#100718 #210E30 #421B60 #632890 #8436C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##421B60#FFFFFF#000000##FFFFFF
##421B601.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)
#002D62
Deuteranopia (green-blind)
#092F5E
Tritanopia (blue-blind)
#3D2A3B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #421b60;
/* rgb */ color: rgb(66, 27, 96);
/* oklch */ color: oklch(31.7% 0.118 306.8);
Tailwind
colors: {
  custom: {
    50: '#795b8e',
    500: '#421b60',
    950: '#000000',
  },
}
SCSS
$custom: #421b60;
$custom-light: #795b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#421b60",
  "rgb": {
    "r": 66,
    "g": 27,
    "b": 96
  },
  "hsl": {
    "h": 273.913,
    "s": 56.098,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31747,
    "c": 0.11848,
    "h": 306.8
  },
  "luminance": 0.02787
}

Semantic roles & 50–950 ramp

primary
#421B60
secondary
#669641
accent
#DF488A
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #421B60

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

Preview Lab → · Contrast checker → · Palette generator →

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