#422784#422784

#422784 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.5% C 0.147 H 290.6°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#422784
RGBrgb(66, 39, 132)
HSLhsl(257, 54%, 34%)
HSVhsv(257, 70%, 52%)
CMYKcmyk(50%, 70.5%, 0%, 48.2%)
CIE-LABlab(24.56, 36.10, -47.91)
CIE-LCHlch(24.56, 59.99, 307.00°)
OKLaboklab(36.54% 0.0516 -0.1374)
OKLCHoklch(36.54% 0.147 290.6)
XYZxyz(7.1360, 4.2750, 22.2745)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422784 #698427
analogous
#273A84 #422784 #702784
triadic
#422784 #844227 #278442
tetradic
#422784 #84273A #698427 #278470
square
#422784 #84273A #698427 #278470
split-complementary
#422784 #847027 #3A8427
monochromatic
#130B26 #2A1955 #422784 #5A35B3 #7A58CE

Accessibility & contrast

On white

11.32
#422784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#422784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422784
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422784#FFFFFF#000000##FFFFFF
##4227841.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C87
Deuteranopia (green-blind)
#003882
Tritanopia (blue-blind)
#2C3E52
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #422784;
/* rgb */ color: rgb(66, 39, 132);
/* oklch */ color: oklch(36.5% 0.147 290.6);
Tailwind
colors: {
  custom: {
    50: '#7d63a9',
    500: '#422784',
    950: '#000000',
  },
}
SCSS
$custom: #422784;
$custom-light: #7d63a9;
$custom-dark: #000000;
JSON
{
  "hex": "#422784",
  "rgb": {
    "r": 66,
    "g": 39,
    "b": 132
  },
  "hsl": {
    "h": 257.419,
    "s": 54.386,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36542,
    "c": 0.14675,
    "h": 290.6
  },
  "luminance": 0.04275
}

Semantic roles & 50–950 ramp

primary
#422784
secondary
#97B254
accent
#DE4AB3
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #422784

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

Preview Lab → · Contrast checker → · Palette generator →

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