#421990#421990

#421990 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.176 H 290.0°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#421990
RGBrgb(66, 25, 144)
HSLhsl(261, 70%, 33%)
HSVhsv(261, 83%, 56%)
CMYKcmyk(54.2%, 82.6%, 0%, 43.5%)
CIE-LABlab(23.23, 46.58, -57.59)
CIE-LCHlch(23.23, 74.07, 308.97°)
OKLaboklab(35.95% 0.0603 -0.1656)
OKLCHoklch(35.95% 0.176 290)
XYZxyz(7.6270, 3.8668, 26.7246)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421990 #679019
analogous
#192C90 #421990 #7D1990
triadic
#421990 #904219 #199042
tetradic
#421990 #90192C #679019 #19907D
square
#421990 #90192C #679019 #19907D
split-complementary
#421990 #907D19 #2C9019
monochromatic
#120728 #2A105C #421990 #5A22C4 #7A45DF

Accessibility & contrast

On white

11.84
#421990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#421990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421990
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421990#FFFFFF#000000##FFFFFF
##4219901.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003993
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#243D55
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #421990;
/* rgb */ color: rgb(66, 25, 144);
/* oklch */ color: oklch(35.9% 0.176 290.0);
Tailwind
colors: {
  custom: {
    50: '#805cb2',
    500: '#421990',
    950: '#000000',
  },
}
SCSS
$custom: #421990;
$custom-light: #805cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#421990",
  "rgb": {
    "r": 66,
    "g": 25,
    "b": 144
  },
  "hsl": {
    "h": 260.672,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.3595,
    "c": 0.17625,
    "h": 290
  },
  "luminance": 0.03867
}

Semantic roles & 50–950 ramp

primary
#421990
secondary
#95C045
accent
#ED3BB0
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #421990

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

Preview Lab → · Contrast checker → · Palette generator →

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