#421B67#421B67

#421B67 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.3% C 0.127 H 303.4°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#421B67
RGBrgb(66, 27, 103)
HSLhsl(271, 58%, 25%)
HSVhsv(271, 74%, 40%)
CMYKcmyk(35.9%, 73.8%, 0%, 59.6%)
CIE-LABlab(19.73, 34.43, -37.20)
CIE-LCHlch(19.73, 50.69, 312.78°)
OKLaboklab(32.32% 0.0699 -0.1058)
OKLCHoklch(32.32% 0.127 303.4)
XYZxyz(5.0863, 2.9214, 13.1253)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421B67 #40671B
analogous
#1C1B67 #421B67 #671B66
triadic
#421B67 #67421B #1B6742
tetradic
#421B67 #671C1B #40671B #1B6667
square
#421B67 #671C1B #40671B #1B6667
split-complementary
#421B67 #66671B #1B671C
monochromatic
#100618 #230E37 #421B67 #612897 #8034C8

Accessibility & contrast

On white

13.26
#421B67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#421B67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421B67
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421B67#FFFFFF#000000##FFFFFF
##421B671.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F69
Deuteranopia (green-blind)
#003065
Tritanopia (blue-blind)
#3B2D3F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #421b67;
/* rgb */ color: rgb(66, 27, 103);
/* oklch */ color: oklch(32.3% 0.127 303.4);
Tailwind
colors: {
  custom: {
    50: '#7a5b93',
    500: '#421b67',
    950: '#000000',
  },
}
SCSS
$custom: #421b67;
$custom-light: #7a5b93;
$custom-dark: #000000;
JSON
{
  "hex": "#421b67",
  "rgb": {
    "r": 66,
    "g": 27,
    "b": 103
  },
  "hsl": {
    "h": 270.789,
    "s": 58.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32322,
    "c": 0.12682,
    "h": 303.4
  },
  "luminance": 0.02921
}

Semantic roles & 50–950 ramp

primary
#421B67
secondary
#6E9C42
accent
#E24692
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #421B67

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

Preview Lab → · Contrast checker → · Palette generator →

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