#421B62#421B62

#421B62 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.9% C 0.121 H 305.8°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#421B62
RGBrgb(66, 27, 98)
HSLhsl(273, 57%, 25%)
HSVhsv(273, 72%, 38%)
CMYKcmyk(32.7%, 72.4%, 0%, 61.6%)
CIE-LABlab(19.32, 33.10, -34.56)
CIE-LCHlch(19.32, 47.86, 313.76°)
OKLaboklab(31.91% 0.0707 -0.0981)
OKLCHoklch(31.91% 0.121 305.8)
XYZxyz(4.8428, 2.8240, 11.8429)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421B62 #3B621B
analogous
#1F1B62 #421B62 #621B5F
triadic
#421B62 #62421B #1B6242
tetradic
#421B62 #621F1B #3B621B #1B5F62
square
#421B62 #621F1B #3B621B #1B5F62
split-complementary
#421B62 #5F621B #1B621F
monochromatic
#100718 #220E32 #421B62 #622892 #8335C2

Accessibility & contrast

On white

13.42
#421B62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421B62
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421B62#FFFFFF#000000##FFFFFF
##421B621.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E64
Deuteranopia (green-blind)
#052F60
Tritanopia (blue-blind)
#3C2B3C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #421b62;
/* rgb */ color: rgb(66, 27, 98);
/* oklch */ color: oklch(31.9% 0.121 305.8);
Tailwind
colors: {
  custom: {
    50: '#7a5b8f',
    500: '#421b62',
    950: '#000000',
  },
}
SCSS
$custom: #421b62;
$custom-light: #7a5b8f;
$custom-dark: #000000;
JSON
{
  "hex": "#421b62",
  "rgb": {
    "r": 66,
    "g": 27,
    "b": 98
  },
  "hsl": {
    "h": 272.958,
    "s": 56.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.31908,
    "c": 0.12087,
    "h": 305.8
  },
  "luminance": 0.02824
}

Semantic roles & 50–950 ramp

primary
#421B62
secondary
#689841
accent
#E0488C
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #421B62

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

Preview Lab → · Contrast checker → · Palette generator →

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