#421E6D#421E6D

#421E6D is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.2% C 0.130 H 300.2°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#421E6D
RGBrgb(66, 30, 109)
HSLhsl(267, 57%, 27%)
HSVhsv(267, 72%, 43%)
CMYKcmyk(39.4%, 72.5%, 0%, 57.3%)
CIE-LABlab(20.79, 34.46, -39.38)
CIE-LCHlch(20.79, 52.33, 311.19°)
OKLaboklab(33.24% 0.0654 -0.1122)
OKLCHoklch(33.24% 0.13 300.2)
XYZxyz(5.4707, 3.1909, 14.7927)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E6D #496D1E
analogous
#1E216D #421E6D #6A1E6D
triadic
#421E6D #6D421E #1E6D42
tetradic
#421E6D #6D1E21 #496D1E #1E6D6A
square
#421E6D #6D1E21 #496D1E #1E6D6A
split-complementary
#421E6D #6D6A1E #216D1E
monochromatic
#0F0718 #25113D #421E6D #5F2B9D #7C3CC9

Accessibility & contrast

On white

12.82
#421E6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#421E6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421E6D
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E6D#FFFFFF#000000##FFFFFF
##421E6D1.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326F
Deuteranopia (green-blind)
#00316B
Tritanopia (blue-blind)
#383143
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #421e6d;
/* rgb */ color: rgb(66, 30, 109);
/* oklch */ color: oklch(33.2% 0.130 300.2);
Tailwind
colors: {
  custom: {
    50: '#7b5d97',
    500: '#421e6d',
    950: '#000000',
  },
}
SCSS
$custom: #421e6d;
$custom-light: #7b5d97;
$custom-dark: #000000;
JSON
{
  "hex": "#421e6d",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 109
  },
  "hsl": {
    "h": 267.342,
    "s": 56.835,
    "l": 27.255
  },
  "oklch": {
    "l": 0.33238,
    "c": 0.12992,
    "h": 300.2
  },
  "luminance": 0.03191
}

Semantic roles & 50–950 ramp

primary
#421E6D
secondary
#77A145
accent
#E0489B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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