#421B66#421B66

#421B66 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.2% C 0.126 H 303.9°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#421B66
RGBrgb(66, 27, 102)
HSLhsl(271, 58%, 25%)
HSVhsv(271, 74%, 40%)
CMYKcmyk(35.3%, 73.5%, 0%, 60%)
CIE-LABlab(19.64, 34.16, -36.68)
CIE-LCHlch(19.64, 50.12, 312.96°)
OKLaboklab(32.24% 0.0701 -0.1043)
OKLCHoklch(32.24% 0.126 303.9)
XYZxyz(5.0364, 2.9014, 12.8625)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421B66 #3F661B
analogous
#1C1B66 #421B66 #661B64
triadic
#421B66 #66421B #1B6642
tetradic
#421B66 #661C1B #3F661B #1B6466
square
#421B66 #661C1B #3F661B #1B6466
split-complementary
#421B66 #64661B #1B661C
monochromatic
#100618 #230E36 #421B66 #612896 #8135C7

Accessibility & contrast

On white

13.29
#421B66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421B66
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421B66#FFFFFF#000000##FFFFFF
##421B661.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F68
Deuteranopia (green-blind)
#002F64
Tritanopia (blue-blind)
#3B2C3E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #421b66;
/* rgb */ color: rgb(66, 27, 102);
/* oklch */ color: oklch(32.2% 0.126 303.9);
Tailwind
colors: {
  custom: {
    50: '#7a5b92',
    500: '#421b66',
    950: '#000000',
  },
}
SCSS
$custom: #421b66;
$custom-light: #7a5b92;
$custom-dark: #000000;
JSON
{
  "hex": "#421b66",
  "rgb": {
    "r": 66,
    "g": 27,
    "b": 102
  },
  "hsl": {
    "h": 271.2,
    "s": 58.14,
    "l": 25.294
  },
  "oklch": {
    "l": 0.32238,
    "c": 0.12563,
    "h": 303.9
  },
  "luminance": 0.02901
}

Semantic roles & 50–950 ramp

primary
#421B66
secondary
#6D9B41
accent
#E14691
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #421B66

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

Preview Lab → · Contrast checker → · Palette generator →

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