#421B64#421B64

#421B64 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.1% C 0.123 H 304.8°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#421B64
RGBrgb(66, 27, 100)
HSLhsl(272, 57%, 25%)
HSVhsv(272, 73%, 39%)
CMYKcmyk(34%, 73%, 0%, 60.8%)
CIE-LABlab(19.48, 33.63, -35.63)
CIE-LCHlch(19.48, 48.99, 313.35°)
OKLaboklab(32.07% 0.0704 -0.1012)
OKLCHoklch(32.07% 0.123 304.8)
XYZxyz(4.9384, 2.8622, 12.3464)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421B64 #3D641B
analogous
#1E1B64 #421B64 #641B61
triadic
#421B64 #64421B #1B6442
tetradic
#421B64 #641E1B #3D641B #1B6164
square
#421B64 #641E1B #3D641B #1B6164
split-complementary
#421B64 #61641B #1B641E
monochromatic
#100718 #220E34 #421B64 #622894 #8235C4

Accessibility & contrast

On white

13.36
#421B64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#421B64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421B64
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421B64#FFFFFF#000000##FFFFFF
##421B641.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E66
Deuteranopia (green-blind)
#012F62
Tritanopia (blue-blind)
#3C2C3D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #421b64;
/* rgb */ color: rgb(66, 27, 100);
/* oklch */ color: oklch(32.1% 0.123 304.8);
Tailwind
colors: {
  custom: {
    50: '#7a5b91',
    500: '#421b64',
    950: '#000000',
  },
}
SCSS
$custom: #421b64;
$custom-light: #7a5b91;
$custom-dark: #000000;
JSON
{
  "hex": "#421b64",
  "rgb": {
    "r": 66,
    "g": 27,
    "b": 100
  },
  "hsl": {
    "h": 272.055,
    "s": 57.48,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32072,
    "c": 0.12325,
    "h": 304.8
  },
  "luminance": 0.02862
}

Semantic roles & 50–950 ramp

primary
#421B64
secondary
#6A9941
accent
#E1478F
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040D
muted
#7B797D

Preview Lab

Preview with #421B64

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

Preview Lab → · Contrast checker → · Palette generator →

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