#421C90#421C90

#421C90 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.174 H 289.6°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#421C90
RGBrgb(66, 28, 144)
HSLhsl(260, 67%, 34%)
HSVhsv(260, 81%, 56%)
CMYKcmyk(54.2%, 80.6%, 0%, 43.5%)
CIE-LABlab(23.68, 45.27, -56.85)
CIE-LCHlch(23.68, 72.67, 308.53°)
OKLaboklab(36.26% 0.0582 -0.1635)
OKLCHoklch(36.26% 0.174 289.6)
XYZxyz(7.6946, 4.0020, 26.7472)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C90 #6A901C
analogous
#1C3090 #421C90 #7C1C90
triadic
#421C90 #90421C #1C9042
tetradic
#421C90 #901C30 #6A901C #1C907C
square
#421C90 #901C30 #6A901C #1C907C
split-complementary
#421C90 #907C1C #30901C
monochromatic
#13082A #2B125D #421C90 #5926C3 #7A4ADC

Accessibility & contrast

On white

11.66
#421C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#421C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421C90
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421C90#FFFFFF#000000##FFFFFF
##421C901.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#00368E
Tritanopia (blue-blind)
#243E56
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #421c90;
/* rgb */ color: rgb(66, 28, 144);
/* oklch */ color: oklch(36.3% 0.174 289.6);
Tailwind
colors: {
  custom: {
    50: '#805eb2',
    500: '#421c90',
    950: '#000000',
  },
}
SCSS
$custom: #421c90;
$custom-light: #805eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#421c90",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 144
  },
  "hsl": {
    "h": 259.655,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36263,
    "c": 0.17353,
    "h": 289.6
  },
  "luminance": 0.04002
}

Semantic roles & 50–950 ramp

primary
#421C90
secondary
#98BE4A
accent
#EA3DB2
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #421C90

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

Preview Lab → · Contrast checker → · Palette generator →

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