#421B72#421B72

#421B72 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.3% C 0.140 H 298.9°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#421B72
RGBrgb(66, 27, 114)
HSLhsl(267, 62%, 28%)
HSVhsv(267, 76%, 45%)
CMYKcmyk(42.1%, 76.3%, 0%, 55.3%)
CIE-LABlab(20.66, 37.40, -42.83)
CIE-LCHlch(20.66, 56.86, 311.13°)
OKLaboklab(33.28% 0.0677 -0.1223)
OKLCHoklch(33.28% 0.14 298.9)
XYZxyz(5.6752, 3.1569, 16.2267)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421B72 #4B721B
analogous
#1B1F72 #421B72 #6E1B72
triadic
#421B72 #72421B #1B7242
tetradic
#421B72 #721B1F #4B721B #1B726E
square
#421B72 #721B1F #4B721B #1B726E
split-complementary
#421B72 #726E1B #1F721B
monochromatic
#0E0619 #250F41 #421B72 #5F27A3 #7C38D0

Accessibility & contrast

On white

12.87
#421B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#421B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421B72
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421B72#FFFFFF#000000##FFFFFF
##421B721.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003275
Deuteranopia (green-blind)
#003170
Tritanopia (blue-blind)
#363145
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #421b72;
/* rgb */ color: rgb(66, 27, 114);
/* oklch */ color: oklch(33.3% 0.140 298.9);
Tailwind
colors: {
  custom: {
    50: '#7b5b9b',
    500: '#421b72',
    950: '#000000',
  },
}
SCSS
$custom: #421b72;
$custom-light: #7b5b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#421b72",
  "rgb": {
    "r": 66,
    "g": 27,
    "b": 114
  },
  "hsl": {
    "h": 266.897,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33278,
    "c": 0.13982,
    "h": 298.9
  },
  "luminance": 0.03157
}

Semantic roles & 50–950 ramp

primary
#421B72
secondary
#7AA742
accent
#E5439C
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421B72

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

Preview Lab → · Contrast checker → · Palette generator →

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