#421EA0#421EA0

#421EA0 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.1% C 0.190 H 285.8°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#421EA0
RGBrgb(66, 30, 160)
HSLhsl(257, 68%, 37%)
HSVhsv(257, 81%, 63%)
CMYKcmyk(58.8%, 81.3%, 0%, 37.3%)
CIE-LABlab(25.64, 48.89, -63.45)
CIE-LCHlch(25.64, 80.10, 307.61°)
OKLaboklab(38.12% 0.0516 -0.1828)
OKLCHoklch(38.12% 0.19 285.8)
XYZxyz(9.0543, 4.6243, 33.6664)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421EA0 #7CA01E
analogous
#1E3BA0 #421EA0 #831EA0
triadic
#421EA0 #A0421E #1EA042
tetradic
#421EA0 #A01E3B #7CA01E #1EA083
square
#421EA0 #A01E3B #7CA01E #1EA083
split-complementary
#421EA0 #A0831E #3BA01E
monochromatic
#170B39 #2D146C #421EA0 #5728D4 #7E59E0

Accessibility & contrast

On white

10.91
#421EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#421EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421EA0
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421EA0#FFFFFF#000000##FFFFFF
##421EA01.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.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: #421ea0;
/* rgb */ color: rgb(66, 30, 160);
/* oklch */ color: oklch(38.1% 0.190 285.8);
Tailwind
colors: {
  custom: {
    50: '#8260bd',
    500: '#421ea0',
    950: '#000000',
  },
}
SCSS
$custom: #421ea0;
$custom-light: #8260bd;
$custom-dark: #000000;
JSON
{
  "hex": "#421ea0",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 256.615,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38117,
    "c": 0.18995,
    "h": 285.8
  },
  "luminance": 0.04625
}

Semantic roles & 50–950 ramp

primary
#421EA0
secondary
#A5C456
accent
#EB3DBB
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #421EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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