#421E63#421E63

#421E63 is a dark, moderate violet. Relative luminance 0.030; OKLCH L 32.4% C 0.118 H 304.6°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#421E63
RGBrgb(66, 30, 99)
HSLhsl(271, 53%, 25%)
HSVhsv(271, 70%, 39%)
CMYKcmyk(33.3%, 69.7%, 0%, 61.2%)
CIE-LABlab(19.99, 31.73, -34.14)
CIE-LCHlch(19.99, 46.61, 312.90°)
OKLaboklab(32.41% 0.0668 -0.0968)
OKLCHoklch(32.41% 0.118 304.6)
XYZxyz(4.9627, 2.9877, 12.1172)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E63 #3F631E
analogous
#1F1E63 #421E63 #631E61
triadic
#421E63 #63421E #1E6342
tetradic
#421E63 #631F1E #3F631E #1E6163
square
#421E63 #631F1E #3F631E #1E6163
split-complementary
#421E63 #61631E #1E631F
monochromatic
#100717 #231034 #421E63 #612C92 #813AC1

Accessibility & contrast

On white

13.14
#421E63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#421E63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421E63
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E63#FFFFFF#000000##FFFFFF
##421E631.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F65
Deuteranopia (green-blind)
#093061
Tritanopia (blue-blind)
#3C2D3D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #421e63;
/* rgb */ color: rgb(66, 30, 99);
/* oklch */ color: oklch(32.4% 0.118 304.6);
Tailwind
colors: {
  custom: {
    50: '#795c90',
    500: '#421e63',
    950: '#000000',
  },
}
SCSS
$custom: #421e63;
$custom-light: #795c90;
$custom-dark: #000000;
JSON
{
  "hex": "#421e63",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 99
  },
  "hsl": {
    "h": 271.304,
    "s": 53.488,
    "l": 25.294
  },
  "oklch": {
    "l": 0.32413,
    "c": 0.11763,
    "h": 304.6
  },
  "luminance": 0.02988
}

Semantic roles & 50–950 ramp

primary
#421E63
secondary
#6D9845
accent
#DD4B91
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #421E63

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

Preview Lab → · Contrast checker → · Palette generator →

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