#421BB4#421BB4

#421BB4 is a dark, highly saturated violet. Relative luminance 0.052; OKLCH L 40.0% C 0.214 H 282.4°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#421BB4
RGBrgb(66, 27, 180)
HSLhsl(255, 74%, 41%)
HSVhsv(255, 85%, 71%)
CMYKcmyk(63.3%, 85%, 0%, 29.4%)
CIE-LABlab(27.40, 55.67, -72.60)
CIE-LCHlch(27.40, 91.49, 307.48°)
OKLaboklab(39.97% 0.0461 -0.2094)
OKLCHoklch(39.97% 0.214 282.4)
XYZxyz(10.8743, 5.2366, 43.6089)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421BB4 #8DB41B
analogous
#1B40B4 #421BB4 #8E1BB4
triadic
#421BB4 #B4421B #1BB442
tetradic
#421BB4 #B41B40 #8DB41B #1BB48E
square
#421BB4 #B41B40 #8DB41B #1BB48E
split-complementary
#421BB4 #B48E1B #40B41B
monochromatic
#1B0B4A #2E137F #421BB4 #5A2DDF #8462E7

Accessibility & contrast

On white

10.26
#421BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#421BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421BB4
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421BB4#FFFFFF#000000##FFFFFF
##421BB41.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B8
Deuteranopia (green-blind)
#003BB1
Tritanopia (blue-blind)
#004D6B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #421bb4;
/* rgb */ color: rgb(66, 27, 180);
/* oklch */ color: oklch(40.0% 0.214 282.4);
Tailwind
colors: {
  custom: {
    50: '#8660cc',
    500: '#421bb4',
    950: '#000000',
  },
}
SCSS
$custom: #421bb4;
$custom-light: #8660cc;
$custom-dark: #000000;
JSON
{
  "hex": "#421bb4",
  "rgb": {
    "r": 66,
    "g": 27,
    "b": 180
  },
  "hsl": {
    "h": 255.294,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39971,
    "c": 0.21443,
    "h": 282.4
  },
  "luminance": 0.05237
}

Semantic roles & 50–950 ramp

primary
#421BB4
secondary
#B0CC5F
accent
#F137C1
background
#F9F5FC
surface
#F1EAF9
border
#CBC6D2
text
#0D0514
muted
#7E7982

Preview Lab

Preview with #421BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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