#421BA0#421BA0

#421BA0 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.192 H 286.1°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#421BA0
RGBrgb(66, 27, 160)
HSLhsl(258, 71%, 37%)
HSVhsv(258, 83%, 63%)
CMYKcmyk(58.8%, 83.1%, 0%, 37.3%)
CIE-LABlab(25.20, 50.17, -64.18)
CIE-LCHlch(25.20, 81.46, 308.01°)
OKLaboklab(37.81% 0.0534 -0.1849)
OKLCHoklch(37.81% 0.192 286.1)
XYZxyz(8.9819, 4.4796, 33.6423)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421BA0 #79A01B
analogous
#1B37A0 #421BA0 #851BA0
triadic
#421BA0 #A0421B #1BA042
tetradic
#421BA0 #A01B37 #79A01B #1BA085
square
#421BA0 #A01B37 #79A01B #1BA085
split-complementary
#421BA0 #A0851B #37A01B
monochromatic
#170937 #2C126C #421BA0 #5824D4 #7D53E2

Accessibility & contrast

On white

11.08
#421BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421BA0
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421BA0#FFFFFF#000000##FFFFFF
##421BA01.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA4
Deuteranopia (green-blind)
#00389E
Tritanopia (blue-blind)
#0F445F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #421ba0;
/* rgb */ color: rgb(66, 27, 160);
/* oklch */ color: oklch(37.8% 0.192 286.1);
Tailwind
colors: {
  custom: {
    50: '#835ebd',
    500: '#421ba0',
    950: '#000000',
  },
}
SCSS
$custom: #421ba0;
$custom-light: #835ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#421ba0",
  "rgb": {
    "r": 66,
    "g": 27,
    "b": 160
  },
  "hsl": {
    "h": 257.594,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37814,
    "c": 0.19242,
    "h": 286.1
  },
  "luminance": 0.0448
}

Semantic roles & 50–950 ramp

primary
#421BA0
secondary
#A3C552
accent
#EE3AB9
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #421BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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