#422684#422684

#422684 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.4% C 0.148 H 290.8°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#422684
RGBrgb(66, 38, 132)
HSLhsl(258, 55%, 33%)
HSVhsv(258, 71%, 52%)
CMYKcmyk(50%, 71.2%, 0%, 48.2%)
CIE-LABlab(24.35, 36.67, -48.25)
CIE-LCHlch(24.35, 60.60, 307.24°)
OKLaboklab(36.39% 0.0527 -0.1383)
OKLCHoklch(36.39% 0.148 290.8)
XYZxyz(7.1036, 4.2101, 22.2637)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422684 #688426
analogous
#263984 #422684 #712684
triadic
#422684 #844226 #268442
tetradic
#422684 #842639 #688426 #268471
square
#422684 #842639 #688426 #268471
split-complementary
#422684 #847126 #398426
monochromatic
#120B25 #2A1854 #422684 #5A34B4 #7A56CE

Accessibility & contrast

On white

11.40
#422684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#422684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422684
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422684#FFFFFF#000000##FFFFFF
##4226841.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #422684;
/* rgb */ color: rgb(66, 38, 132);
/* oklch */ color: oklch(36.4% 0.148 290.8);
Tailwind
colors: {
  custom: {
    50: '#7d63a9',
    500: '#422684',
    950: '#000000',
  },
}
SCSS
$custom: #422684;
$custom-light: #7d63a9;
$custom-dark: #000000;
JSON
{
  "hex": "#422684",
  "rgb": {
    "r": 66,
    "g": 38,
    "b": 132
  },
  "hsl": {
    "h": 257.872,
    "s": 55.294,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36394,
    "c": 0.14802,
    "h": 290.8
  },
  "luminance": 0.0421
}

Semantic roles & 50–950 ramp

primary
#422684
secondary
#96B353
accent
#DF49B2
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #422684

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

Preview Lab → · Contrast checker → · Palette generator →

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