#422182#422182

#422182 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.5% C 0.152 H 292.5°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#422182
RGBrgb(66, 33, 130)
HSLhsl(260, 60%, 32%)
HSVhsv(260, 75%, 51%)
CMYKcmyk(49.2%, 74.6%, 0%, 49%)
CIE-LABlab(23.19, 38.82, -48.89)
CIE-LCHlch(23.19, 62.42, 308.45°)
OKLaboklab(35.51% 0.058 -0.1402)
OKLCHoklch(35.51% 0.152 292.5)
XYZxyz(6.8188, 3.8574, 21.5000)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422182 #618221
analogous
#213182 #422182 #732182
triadic
#422182 #824221 #218242
tetradic
#422182 #822131 #618221 #218273
square
#422182 #822131 #618221 #218273
split-complementary
#422182 #827321 #318221
monochromatic
#100820 #291551 #422182 #5B2DB3 #794CD2

Accessibility & contrast

On white

11.85
#422182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#422182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422182
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422182#FFFFFF#000000##FFFFFF
##4221821.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003985
Deuteranopia (green-blind)
#003580
Tritanopia (blue-blind)
#2E3A4F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #422182;
/* rgb */ color: rgb(66, 33, 130);
/* oklch */ color: oklch(35.5% 0.152 292.5);
Tailwind
colors: {
  custom: {
    50: '#7d60a7',
    500: '#422182',
    950: '#000000',
  },
}
SCSS
$custom: #422182;
$custom-light: #7d60a7;
$custom-dark: #000000;
JSON
{
  "hex": "#422182",
  "rgb": {
    "r": 66,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 260.412,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35514,
    "c": 0.15171,
    "h": 292.5
  },
  "luminance": 0.03858
}

Semantic roles & 50–950 ramp

primary
#422182
secondary
#90B44A
accent
#E345AD
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #422182

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

Preview Lab → · Contrast checker → · Palette generator →

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