#421E9F#421E9F

#421E9F is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.189 H 286.0°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#421E9F
RGBrgb(66, 30, 159)
HSLhsl(257, 68%, 37%)
HSVhsv(257, 81%, 62%)
CMYKcmyk(58.5%, 81.1%, 0%, 37.6%)
CIE-LABlab(25.53, 48.60, -63.02)
CIE-LCHlch(25.53, 79.58, 307.64°)
OKLaboklab(38.01% 0.052 -0.1815)
OKLCHoklch(38.01% 0.189 286)
XYZxyz(8.9672, 4.5895, 33.2075)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E9F #7B9F1E
analogous
#1E3B9F #421E9F #831E9F
triadic
#421E9F #9F421E #1E9F42
tetradic
#421E9F #9F1E3B #7B9F1E #1E9F83
square
#421E9F #9F1E3B #7B9F1E #1E9F83
split-complementary
#421E9F #9F831E #3B9F1E
monochromatic
#170B38 #2D146C #421E9F #5728D2 #7E58DF

Accessibility & contrast

On white

10.95
#421E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#421E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421E9F
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E9F#FFFFFF#000000##FFFFFF
##421E9F1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A3
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#11455F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #421e9f;
/* rgb */ color: rgb(66, 30, 159);
/* oklch */ color: oklch(38.0% 0.189 286.0);
Tailwind
colors: {
  custom: {
    50: '#8260bd',
    500: '#421e9f',
    950: '#000000',
  },
}
SCSS
$custom: #421e9f;
$custom-light: #8260bd;
$custom-dark: #000000;
JSON
{
  "hex": "#421e9f",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 159
  },
  "hsl": {
    "h": 256.744,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38013,
    "c": 0.18881,
    "h": 286
  },
  "luminance": 0.0459
}

Semantic roles & 50–950 ramp

primary
#421E9F
secondary
#A5C356
accent
#EB3DBA
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #421E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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