#421986#421986

#421986 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.165 H 292.7°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#421986
RGBrgb(66, 25, 134)
HSLhsl(263, 69%, 31%)
HSVhsv(263, 81%, 53%)
CMYKcmyk(50.7%, 81.3%, 0%, 47.5%)
CIE-LABlab(22.21, 43.84, -53.01)
CIE-LCHlch(22.21, 68.79, 309.59°)
OKLaboklab(34.94% 0.0637 -0.1522)
OKLCHoklch(34.94% 0.165 292.7)
XYZxyz(6.8963, 3.5745, 22.8762)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421986 #5D8619
analogous
#192686 #421986 #781986
triadic
#421986 #864219 #198642
tetradic
#421986 #861926 #5D8619 #198678
square
#421986 #861926 #5D8619 #198678
split-complementary
#421986 #867819 #268619
monochromatic
#0F061F #290F52 #421986 #5B23BA #793EDB

Accessibility & contrast

On white

12.24
#421986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#421986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421986
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421986#FFFFFF#000000##FFFFFF
##4219861.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#003384
Tritanopia (blue-blind)
#2C3850
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #421986;
/* rgb */ color: rgb(66, 25, 134);
/* oklch */ color: oklch(34.9% 0.165 292.7);
Tailwind
colors: {
  custom: {
    50: '#7e5baa',
    500: '#421986',
    950: '#000000',
  },
}
SCSS
$custom: #421986;
$custom-light: #7e5baa;
$custom-dark: #000000;
JSON
{
  "hex": "#421986",
  "rgb": {
    "r": 66,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 262.569,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34941,
    "c": 0.16503,
    "h": 292.7
  },
  "luminance": 0.03575
}

Semantic roles & 50–950 ramp

primary
#421986
secondary
#8CBA41
accent
#EB3CAA
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #421986

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

Preview Lab → · Contrast checker → · Palette generator →

#421986 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva