#421B63#421B63

#421B63 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.0% C 0.122 H 305.3°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#421B63
RGBrgb(66, 27, 99)
HSLhsl(273, 57%, 25%)
HSVhsv(273, 73%, 39%)
CMYKcmyk(33.3%, 72.7%, 0%, 61.2%)
CIE-LABlab(19.40, 33.36, -35.10)
CIE-LCHlch(19.40, 48.42, 313.55°)
OKLaboklab(31.99% 0.0705 -0.0996)
OKLCHoklch(31.99% 0.122 305.3)
XYZxyz(4.8903, 2.8430, 12.0931)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421B63 #3C631B
analogous
#1E1B63 #421B63 #631B60
triadic
#421B63 #63421B #1B6342
tetradic
#421B63 #631E1B #3C631B #1B6063
square
#421B63 #631E1B #3C631B #1B6063
split-complementary
#421B63 #60631B #1B631E
monochromatic
#100718 #220E33 #421B63 #622893 #8235C3

Accessibility & contrast

On white

13.39
#421B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421B63
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421B63#FFFFFF#000000##FFFFFF
##421B631.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E65
Deuteranopia (green-blind)
#032F61
Tritanopia (blue-blind)
#3C2B3C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #421b63;
/* rgb */ color: rgb(66, 27, 99);
/* oklch */ color: oklch(32.0% 0.122 305.3);
Tailwind
colors: {
  custom: {
    50: '#7a5b90',
    500: '#421b63',
    950: '#000000',
  },
}
SCSS
$custom: #421b63;
$custom-light: #7a5b90;
$custom-dark: #000000;
JSON
{
  "hex": "#421b63",
  "rgb": {
    "r": 66,
    "g": 27,
    "b": 99
  },
  "hsl": {
    "h": 272.5,
    "s": 57.143,
    "l": 24.706
  },
  "oklch": {
    "l": 0.3199,
    "c": 0.12206,
    "h": 305.3
  },
  "luminance": 0.02843
}

Semantic roles & 50–950 ramp

primary
#421B63
secondary
#699841
accent
#E0478E
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #421B63

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

Preview Lab → · Contrast checker → · Palette generator →

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