#422086#422086

#422086 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.158 H 291.6°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#422086
RGBrgb(66, 32, 134)
HSLhsl(260, 61%, 33%)
HSVhsv(260, 76%, 53%)
CMYKcmyk(50.7%, 76.1%, 0%, 47.5%)
CIE-LABlab(23.38, 40.49, -51.10)
CIE-LCHlch(23.38, 65.20, 308.39°)
OKLaboklab(35.76% 0.0579 -0.1467)
OKLCHoklch(35.76% 0.158 291.6)
XYZxyz(7.0651, 3.9122, 22.9325)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422086 #648620
analogous
#203186 #422086 #752086
triadic
#422086 #864220 #208642
tetradic
#422086 #862031 #648620 #208675
square
#422086 #862031 #648620 #208675
split-complementary
#422086 #867520 #318620
monochromatic
#110823 #2A1455 #422086 #5A2CB7 #7A4CD4

Accessibility & contrast

On white

11.78
#422086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#422086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422086
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422086#FFFFFF#000000##FFFFFF
##4220861.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003989
Deuteranopia (green-blind)
#003684
Tritanopia (blue-blind)
#2C3B51
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #422086;
/* rgb */ color: rgb(66, 32, 134);
/* oklch */ color: oklch(35.8% 0.158 291.6);
Tailwind
colors: {
  custom: {
    50: '#7e5faa',
    500: '#422086',
    950: '#000000',
  },
}
SCSS
$custom: #422086;
$custom-light: #7e5faa;
$custom-dark: #000000;
JSON
{
  "hex": "#422086",
  "rgb": {
    "r": 66,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 260,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35758,
    "c": 0.1577,
    "h": 291.6
  },
  "luminance": 0.03913
}

Semantic roles & 50–950 ramp

primary
#422086
secondary
#93B74B
accent
#E543AF
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #422086

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

Preview Lab → · Contrast checker → · Palette generator →

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