#421784#421784

#421784 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.5% C 0.165 H 293.6°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#421784
RGBrgb(66, 23, 132)
HSLhsl(264, 70%, 30%)
HSVhsv(264, 83%, 52%)
CMYKcmyk(50%, 82.6%, 0%, 48.2%)
CIE-LABlab(21.71, 44.16, -52.57)
CIE-LCHlch(21.71, 68.66, 310.03°)
OKLaboklab(34.54% 0.0659 -0.1509)
OKLCHoklch(34.54% 0.165 293.6)
XYZxyz(6.7169, 3.4368, 22.1348)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421784 #598417
analogous
#172284 #421784 #791784
triadic
#421784 #844217 #178442
tetradic
#421784 #841722 #598417 #178479
square
#421784 #841722 #598417 #178479
split-complementary
#421784 #847917 #228417
monochromatic
#0E051C #280E50 #421784 #5C20B8 #7939DC

Accessibility & contrast

On white

12.45
#421784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#421784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421784
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421784#FFFFFF#000000##FFFFFF
##4217841.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003587
Deuteranopia (green-blind)
#003282
Tritanopia (blue-blind)
#2D374E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #421784;
/* rgb */ color: rgb(66, 23, 132);
/* oklch */ color: oklch(34.5% 0.165 293.6);
Tailwind
colors: {
  custom: {
    50: '#7e5aa9',
    500: '#421784',
    950: '#000000',
  },
}
SCSS
$custom: #421784;
$custom-light: #7e5aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#421784",
  "rgb": {
    "r": 66,
    "g": 23,
    "b": 132
  },
  "hsl": {
    "h": 263.67,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34536,
    "c": 0.16468,
    "h": 293.6
  },
  "luminance": 0.03437
}

Semantic roles & 50–950 ramp

primary
#421784
secondary
#88B83F
accent
#ED3BA7
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #421784

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

Preview Lab → · Contrast checker → · Palette generator →

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