#421B6A#421B6A

#421B6A is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.6% C 0.130 H 302.1°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#421B6A
RGBrgb(66, 27, 106)
HSLhsl(270, 59%, 26%)
HSVhsv(270, 75%, 42%)
CMYKcmyk(37.7%, 74.5%, 0%, 58.4%)
CIE-LABlab(19.97, 35.23, -38.76)
CIE-LCHlch(19.97, 52.38, 312.27°)
OKLaboklab(32.58% 0.0694 -0.1104)
OKLCHoklch(32.58% 0.13 302.1)
XYZxyz(5.2396, 2.9827, 13.9326)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421B6A #436A1B
analogous
#1B1C6A #421B6A #691B6A
triadic
#421B6A #6A421B #1B6A42
tetradic
#421B6A #6A1B1C #436A1B #1B6A69
square
#421B6A #6A1B1C #436A1B #1B6A69
split-complementary
#421B6A #6A691B #1C6A1B
monochromatic
#0F0618 #240F39 #421B6A #60279B #7F34CB

Accessibility & contrast

On white

13.15
#421B6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#421B6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421B6A
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421B6A#FFFFFF#000000##FFFFFF
##421B6A1.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306C
Deuteranopia (green-blind)
#003068
Tritanopia (blue-blind)
#3A2E40
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #421b6a;
/* rgb */ color: rgb(66, 27, 106);
/* oklch */ color: oklch(32.6% 0.130 302.1);
Tailwind
colors: {
  custom: {
    50: '#7a5b95',
    500: '#421b6a',
    950: '#000000',
  },
}
SCSS
$custom: #421b6a;
$custom-light: #7a5b95;
$custom-dark: #000000;
JSON
{
  "hex": "#421b6a",
  "rgb": {
    "r": 66,
    "g": 27,
    "b": 106
  },
  "hsl": {
    "h": 269.62,
    "s": 59.398,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32576,
    "c": 0.13038,
    "h": 302.1
  },
  "luminance": 0.02983
}

Semantic roles & 50–950 ramp

primary
#421B6A
secondary
#719F42
accent
#E34595
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #421B6A

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

Preview Lab → · Contrast checker → · Palette generator →

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