#421FA1#421FA1

#421FA1 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.190 H 285.4°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#421FA1
RGBrgb(66, 31, 161)
HSLhsl(256, 68%, 38%)
HSVhsv(256, 81%, 63%)
CMYKcmyk(59%, 80.7%, 0%, 36.9%)
CIE-LABlab(25.89, 48.72, -63.64)
CIE-LCHlch(25.89, 80.15, 307.44°)
OKLaboklab(38.33% 0.0507 -0.1833)
OKLCHoklch(38.33% 0.19 285.4)
XYZxyz(9.1678, 4.7109, 34.1375)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421FA1 #7EA11F
analogous
#1F3DA1 #421FA1 #831FA1
triadic
#421FA1 #A1421F #1FA142
tetradic
#421FA1 #A11F3D #7EA11F #1FA183
square
#421FA1 #A11F3D #7EA11F #1FA183
split-complementary
#421FA1 #A1831F #3DA11F
monochromatic
#180B3A #2D156E #421FA1 #5729D4 #7F5BDF

Accessibility & contrast

On white

10.81
#421FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#421FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421FA1
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421FA1#FFFFFF#000000##FFFFFF
##421FA11.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A5
Deuteranopia (green-blind)
#00399F
Tritanopia (blue-blind)
#0C4660
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #421fa1;
/* rgb */ color: rgb(66, 31, 161);
/* oklch */ color: oklch(38.3% 0.190 285.4);
Tailwind
colors: {
  custom: {
    50: '#8260be',
    500: '#421fa1',
    950: '#000000',
  },
}
SCSS
$custom: #421fa1;
$custom-light: #8260be;
$custom-dark: #000000;
JSON
{
  "hex": "#421fa1",
  "rgb": {
    "r": 66,
    "g": 31,
    "b": 161
  },
  "hsl": {
    "h": 256.154,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38327,
    "c": 0.19021,
    "h": 285.4
  },
  "luminance": 0.04711
}

Semantic roles & 50–950 ramp

primary
#421FA1
secondary
#A7C458
accent
#EB3DBC
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #421FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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