#421790#421790

#421790 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.8% C 0.178 H 290.2°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#421790
RGBrgb(66, 23, 144)
HSLhsl(261, 72%, 33%)
HSVhsv(261, 84%, 56%)
CMYKcmyk(54.2%, 84%, 0%, 43.5%)
CIE-LABlab(22.95, 47.41, -58.05)
CIE-LCHlch(22.95, 74.95, 309.23°)
OKLaboklab(35.76% 0.0616 -0.1669)
OKLCHoklch(35.76% 0.178 290.2)
XYZxyz(7.5857, 3.7843, 26.7109)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421790 #659017
analogous
#172990 #421790 #7E1790
triadic
#421790 #904217 #179042
tetradic
#421790 #901729 #659017 #17907E
square
#421790 #901729 #659017 #17907E
split-complementary
#421790 #907E17 #299017
monochromatic
#120626 #2A0F5B #421790 #5A1FC5 #7A41E1

Accessibility & contrast

On white

11.95
#421790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#421790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421790
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421790#FFFFFF#000000##FFFFFF
##4217901.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #421790;
/* rgb */ color: rgb(66, 23, 144);
/* oklch */ color: oklch(35.8% 0.178 290.2);
Tailwind
colors: {
  custom: {
    50: '#805bb2',
    500: '#421790',
    950: '#000000',
  },
}
SCSS
$custom: #421790;
$custom-light: #805bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#421790",
  "rgb": {
    "r": 66,
    "g": 23,
    "b": 144
  },
  "hsl": {
    "h": 261.322,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35756,
    "c": 0.17794,
    "h": 290.2
  },
  "luminance": 0.03785
}

Semantic roles & 50–950 ramp

primary
#421790
secondary
#94C142
accent
#EF39AE
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #421790

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

Preview Lab → · Contrast checker → · Palette generator →

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