#421A6F#421A6F

#421A6F is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.138 H 300.3°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#421A6F
RGBrgb(66, 26, 111)
HSLhsl(268, 62%, 27%)
HSVhsv(268, 77%, 44%)
CMYKcmyk(40.5%, 76.6%, 0%, 56.5%)
CIE-LABlab(20.22, 37.09, -41.60)
CIE-LCHlch(20.22, 55.73, 311.71°)
OKLaboklab(32.89% 0.0694 -0.1188)
OKLCHoklch(32.89% 0.138 300.3)
XYZxyz(5.4847, 3.0447, 15.3346)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421A6F #476F1A
analogous
#1A1D6F #421A6F #6D1A6F
triadic
#421A6F #6F421A #1A6F42
tetradic
#421A6F #6F1A1D #476F1A #1A6F6D
square
#421A6F #6F1A1D #476F1A #1A6F6D
split-complementary
#421A6F #6F6D1A #1D6F1A
monochromatic
#0F0619 #250E3D #421A6F #5F26A1 #7D34CF

Accessibility & contrast

On white

13.05
#421A6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#421A6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421A6F
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421A6F#FFFFFF#000000##FFFFFF
##421A6F1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#00306D
Tritanopia (blue-blind)
#382F43
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #421a6f;
/* rgb */ color: rgb(66, 26, 111);
/* oklch */ color: oklch(32.9% 0.138 300.3);
Tailwind
colors: {
  custom: {
    50: '#7b5b99',
    500: '#421a6f',
    950: '#000000',
  },
}
SCSS
$custom: #421a6f;
$custom-light: #7b5b99;
$custom-dark: #000000;
JSON
{
  "hex": "#421a6f",
  "rgb": {
    "r": 66,
    "g": 26,
    "b": 111
  },
  "hsl": {
    "h": 268.235,
    "s": 62.044,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32886,
    "c": 0.13755,
    "h": 300.3
  },
  "luminance": 0.03045
}

Semantic roles & 50–950 ramp

primary
#421A6F
secondary
#75A441
accent
#E54399
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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