#421E9D#421E9D

#421E9D is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.187 H 286.4°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#421E9D
RGBrgb(66, 30, 157)
HSLhsl(257, 68%, 37%)
HSVhsv(257, 81%, 62%)
CMYKcmyk(58%, 80.9%, 0%, 38.4%)
CIE-LABlab(25.32, 48.04, -62.14)
CIE-LCHlch(25.32, 78.54, 307.71°)
OKLaboklab(37.81% 0.0526 -0.179)
OKLCHoklch(37.81% 0.187 286.4)
XYZxyz(8.7950, 4.5206, 32.3009)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E9D #799D1E
analogous
#1E3A9D #421E9D #821E9D
triadic
#421E9D #9D421E #1E9D42
tetradic
#421E9D #9D1E3A #799D1E #1E9D82
square
#421E9D #9D1E3A #799D1E #1E9D82
split-complementary
#421E9D #9D821E #3A9D1E
monochromatic
#170A36 #2C146A #421E9D #5828D0 #7D57DF

Accessibility & contrast

On white

11.03
#421E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#421E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421E9D
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E9D#FFFFFF#000000##FFFFFF
##421E9D1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA0
Deuteranopia (green-blind)
#00389B
Tritanopia (blue-blind)
#14445E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #421e9d;
/* rgb */ color: rgb(66, 30, 157);
/* oklch */ color: oklch(37.8% 0.187 286.4);
Tailwind
colors: {
  custom: {
    50: '#825fbb',
    500: '#421e9d',
    950: '#000000',
  },
}
SCSS
$custom: #421e9d;
$custom-light: #825fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#421e9d",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 157
  },
  "hsl": {
    "h": 257.008,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37806,
    "c": 0.18654,
    "h": 286.4
  },
  "luminance": 0.04521
}

Semantic roles & 50–950 ramp

primary
#421E9D
secondary
#A3C254
accent
#EB3DBA
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #421E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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