#421BA1#421BA1

#421BA1 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.9% C 0.194 H 285.9°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#421BA1
RGBrgb(66, 27, 161)
HSLhsl(257, 71%, 37%)
HSVhsv(257, 83%, 63%)
CMYKcmyk(59%, 83.2%, 0%, 36.9%)
CIE-LABlab(25.31, 50.44, -64.61)
CIE-LCHlch(25.31, 81.97, 307.98°)
OKLaboklab(37.92% 0.053 -0.1861)
OKLCHoklch(37.92% 0.194 285.9)
XYZxyz(9.0698, 4.5148, 34.1048)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421BA1 #7AA11B
analogous
#1B37A1 #421BA1 #851BA1
triadic
#421BA1 #A1421B #1BA142
tetradic
#421BA1 #A11B37 #7AA11B #1BA185
square
#421BA1 #A11B37 #7AA11B #1BA185
split-complementary
#421BA1 #A1851B #37A11B
monochromatic
#170938 #2D126D #421BA1 #5724D5 #7D54E2

Accessibility & contrast

On white

11.04
#421BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421BA1
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421BA1#FFFFFF#000000##FFFFFF
##421BA11.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA5
Deuteranopia (green-blind)
#00389F
Tritanopia (blue-blind)
#0C4460
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #421ba1;
/* rgb */ color: rgb(66, 27, 161);
/* oklch */ color: oklch(37.9% 0.194 285.9);
Tailwind
colors: {
  custom: {
    50: '#835ebe',
    500: '#421ba1',
    950: '#000000',
  },
}
SCSS
$custom: #421ba1;
$custom-light: #835ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#421ba1",
  "rgb": {
    "r": 66,
    "g": 27,
    "b": 161
  },
  "hsl": {
    "h": 257.463,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37919,
    "c": 0.19353,
    "h": 285.9
  },
  "luminance": 0.04515
}

Semantic roles & 50–950 ramp

primary
#421BA1
secondary
#A4C552
accent
#EE3ABA
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #421BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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