#422186#422186

#422186 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.157 H 291.4°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#422186
RGBrgb(66, 33, 134)
HSLhsl(260, 60%, 33%)
HSVhsv(260, 75%, 53%)
CMYKcmyk(50.7%, 75.4%, 0%, 47.5%)
CIE-LABlab(23.56, 39.98, -50.80)
CIE-LCHlch(23.56, 64.64, 308.20°)
OKLaboklab(35.89% 0.057 -0.1458)
OKLCHoklch(35.89% 0.157 291.4)
XYZxyz(7.0925, 3.9669, 22.9416)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422186 #658621
analogous
#213286 #422186 #742186
triadic
#422186 #864221 #218642
tetradic
#422186 #862132 #658621 #218674
square
#422186 #862132 #658621 #218674
split-complementary
#422186 #867421 #328621
monochromatic
#120924 #2A1555 #422186 #5A2DB7 #7A4ED3

Accessibility & contrast

On white

11.71
#422186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#422186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422186
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422186#FFFFFF#000000##FFFFFF
##4221861.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003684
Tritanopia (blue-blind)
#2B3C51
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #422186;
/* rgb */ color: rgb(66, 33, 134);
/* oklch */ color: oklch(35.9% 0.157 291.4);
Tailwind
colors: {
  custom: {
    50: '#7e60aa',
    500: '#422186',
    950: '#000000',
  },
}
SCSS
$custom: #422186;
$custom-light: #7e60aa;
$custom-dark: #000000;
JSON
{
  "hex": "#422186",
  "rgb": {
    "r": 66,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 259.604,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35887,
    "c": 0.15656,
    "h": 291.4
  },
  "luminance": 0.03967
}

Semantic roles & 50–950 ramp

primary
#422186
secondary
#94B74C
accent
#E444B0
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #422186

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

Preview Lab → · Contrast checker → · Palette generator →

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