#422686#422686

#422686 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.6% C 0.151 H 290.3°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#422686
RGBrgb(66, 38, 134)
HSLhsl(258, 56%, 34%)
HSVhsv(258, 72%, 53%)
CMYKcmyk(50.7%, 71.6%, 0%, 47.5%)
CIE-LABlab(24.53, 37.27, -49.22)
CIE-LCHlch(24.53, 61.74, 307.13°)
OKLaboklab(36.57% 0.0523 -0.1412)
OKLCHoklch(36.57% 0.151 290.3)
XYZxyz(7.2417, 4.2654, 22.9914)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422686 #6A8626
analogous
#263A86 #422686 #722686
triadic
#422686 #864226 #268642
tetradic
#422686 #86263A #6A8626 #268672
square
#422686 #86263A #6A8626 #268672
split-complementary
#422686 #867226 #3A8626
monochromatic
#130B27 #2B1856 #422686 #5934B6 #7A57CF

Accessibility & contrast

On white

11.33
#422686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#422686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422686
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422686#FFFFFF#000000##FFFFFF
##4226861.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003884
Tritanopia (blue-blind)
#2B3F53
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #422686;
/* rgb */ color: rgb(66, 38, 134);
/* oklch */ color: oklch(36.6% 0.151 290.3);
Tailwind
colors: {
  custom: {
    50: '#7d63aa',
    500: '#422686',
    950: '#000000',
  },
}
SCSS
$custom: #422686;
$custom-light: #7d63aa;
$custom-dark: #000000;
JSON
{
  "hex": "#422686",
  "rgb": {
    "r": 66,
    "g": 38,
    "b": 134
  },
  "hsl": {
    "h": 257.5,
    "s": 55.814,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36574,
    "c": 0.15055,
    "h": 290.3
  },
  "luminance": 0.04266
}

Semantic roles & 50–950 ramp

primary
#422686
secondary
#98B454
accent
#DF49B3
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #422686

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

Preview Lab → · Contrast checker → · Palette generator →

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