#421E6B#421E6B

#421E6B is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.127 H 301.1°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#421E6B
RGBrgb(66, 30, 107)
HSLhsl(268, 56%, 27%)
HSVhsv(268, 72%, 42%)
CMYKcmyk(38.3%, 72%, 0%, 58%)
CIE-LABlab(20.63, 33.91, -38.35)
CIE-LCHlch(20.63, 51.19, 311.48°)
OKLaboklab(33.07% 0.0658 -0.1092)
OKLCHoklch(33.07% 0.127 301.1)
XYZxyz(5.3642, 3.1483, 14.2321)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E6B #476B1E
analogous
#1E216B #421E6B #691E6B
triadic
#421E6B #6B421E #1E6B42
tetradic
#421E6B #6B1E21 #476B1E #1E6B69
square
#421E6B #6B1E21 #476B1E #1E6B69
split-complementary
#421E6B #6B691E #216B1E
monochromatic
#0F0718 #25113B #421E6B #5F2B9B #7D3BC8

Accessibility & contrast

On white

12.89
#421E6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#421E6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421E6B
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E6B#FFFFFF#000000##FFFFFF
##421E6B1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316D
Deuteranopia (green-blind)
#003169
Tritanopia (blue-blind)
#393042
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #421e6b;
/* rgb */ color: rgb(66, 30, 107);
/* oklch */ color: oklch(33.1% 0.127 301.1);
Tailwind
colors: {
  custom: {
    50: '#7a5d96',
    500: '#421e6b',
    950: '#000000',
  },
}
SCSS
$custom: #421e6b;
$custom-light: #7a5d96;
$custom-dark: #000000;
JSON
{
  "hex": "#421e6b",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 107
  },
  "hsl": {
    "h": 268.052,
    "s": 56.204,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33069,
    "c": 0.12748,
    "h": 301.1
  },
  "luminance": 0.03148
}

Semantic roles & 50–950 ramp

primary
#421E6B
secondary
#759F45
accent
#DF4899
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #421E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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