#421A6E#421A6E

#421A6E is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.136 H 300.7°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#421A6E
RGBrgb(66, 26, 110)
HSLhsl(269, 62%, 27%)
HSVhsv(269, 76%, 43%)
CMYKcmyk(40%, 76.4%, 0%, 56.9%)
CIE-LABlab(20.14, 36.82, -41.10)
CIE-LCHlch(20.14, 55.18, 311.85°)
OKLaboklab(32.8% 0.0696 -0.1173)
OKLCHoklch(32.8% 0.136 300.7)
XYZxyz(5.4299, 3.0228, 15.0462)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421A6E #466E1A
analogous
#1A1C6E #421A6E #6C1A6E
triadic
#421A6E #6E421A #1A6E42
tetradic
#421A6E #6E1A1C #466E1A #1A6E6C
square
#421A6E #6E1A1C #466E1A #1A6E6C
split-complementary
#421A6E #6E6C1A #1C6E1A
monochromatic
#0F0619 #240E3D #421A6E #6026A0 #7D34CF

Accessibility & contrast

On white

13.09
#421A6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421A6E
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421A6E#FFFFFF#000000##FFFFFF
##421A6E1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003070
Deuteranopia (green-blind)
#00306C
Tritanopia (blue-blind)
#382F42
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #421a6e;
/* rgb */ color: rgb(66, 26, 110);
/* oklch */ color: oklch(32.8% 0.136 300.7);
Tailwind
colors: {
  custom: {
    50: '#7b5b98',
    500: '#421a6e',
    950: '#000000',
  },
}
SCSS
$custom: #421a6e;
$custom-light: #7b5b98;
$custom-dark: #000000;
JSON
{
  "hex": "#421a6e",
  "rgb": {
    "r": 66,
    "g": 26,
    "b": 110
  },
  "hsl": {
    "h": 268.571,
    "s": 61.765,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32797,
    "c": 0.13638,
    "h": 300.7
  },
  "luminance": 0.03023
}

Semantic roles & 50–950 ramp

primary
#421A6E
secondary
#74A341
accent
#E54398
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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