#421FA0#421FA0

#421FA0 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.189 H 285.6°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#421FA0
RGBrgb(66, 31, 160)
HSLhsl(256, 68%, 37%)
HSVhsv(256, 81%, 63%)
CMYKcmyk(58.8%, 80.6%, 0%, 37.3%)
CIE-LABlab(25.79, 48.44, -63.20)
CIE-LCHlch(25.79, 79.63, 307.47°)
OKLaboklab(38.22% 0.051 -0.1821)
OKLCHoklch(38.22% 0.189 285.6)
XYZxyz(9.0800, 4.6757, 33.6749)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421FA0 #7DA01F
analogous
#1F3DA0 #421FA0 #821FA0
triadic
#421FA0 #A0421F #1FA042
tetradic
#421FA0 #A01F3D #7DA01F #1FA082
square
#421FA0 #A01F3D #7DA01F #1FA082
split-complementary
#421FA0 #A0821F #3DA01F
monochromatic
#180B39 #2D156D #421FA0 #5729D3 #7E5ADF

Accessibility & contrast

On white

10.85
#421FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421FA0
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421FA0#FFFFFF#000000##FFFFFF
##421FA01.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A4
Deuteranopia (green-blind)
#00399E
Tritanopia (blue-blind)
#0E4560
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #421fa0;
/* rgb */ color: rgb(66, 31, 160);
/* oklch */ color: oklch(38.2% 0.189 285.6);
Tailwind
colors: {
  custom: {
    50: '#8260bd',
    500: '#421fa0',
    950: '#000000',
  },
}
SCSS
$custom: #421fa0;
$custom-light: #8260bd;
$custom-dark: #000000;
JSON
{
  "hex": "#421fa0",
  "rgb": {
    "r": 66,
    "g": 31,
    "b": 160
  },
  "hsl": {
    "h": 256.279,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38223,
    "c": 0.18908,
    "h": 285.6
  },
  "luminance": 0.04676
}

Semantic roles & 50–950 ramp

primary
#421FA0
secondary
#A6C358
accent
#EA3DBB
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #421FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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