#422082#422082

#422082 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.153 H 292.7°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#422082
RGBrgb(66, 32, 130)
HSLhsl(261, 60%, 32%)
HSVhsv(261, 75%, 51%)
CMYKcmyk(49.2%, 75.4%, 0%, 49%)
CIE-LABlab(23.01, 39.34, -49.19)
CIE-LCHlch(23.01, 62.99, 308.65°)
OKLaboklab(35.38% 0.059 -0.1411)
OKLCHoklch(35.38% 0.153 292.7)
XYZxyz(6.7914, 3.8028, 21.4909)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422082 #608220
analogous
#202F82 #422082 #732082
triadic
#422082 #824220 #208242
tetradic
#422082 #82202F #608220 #208273
square
#422082 #82202F #608220 #208273
split-complementary
#422082 #827320 #2F8220
monochromatic
#100820 #291451 #422082 #5B2CB3 #794AD2

Accessibility & contrast

On white

11.93
#422082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#422082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422082
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422082#FFFFFF#000000##FFFFFF
##4220821.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #422082;
/* rgb */ color: rgb(66, 32, 130);
/* oklch */ color: oklch(35.4% 0.153 292.7);
Tailwind
colors: {
  custom: {
    50: '#7d5fa7',
    500: '#422082',
    950: '#000000',
  },
}
SCSS
$custom: #422082;
$custom-light: #7d5fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#422082",
  "rgb": {
    "r": 66,
    "g": 32,
    "b": 130
  },
  "hsl": {
    "h": 260.816,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35382,
    "c": 0.1529,
    "h": 292.7
  },
  "luminance": 0.03803
}

Semantic roles & 50–950 ramp

primary
#422082
secondary
#8FB549
accent
#E444AC
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #422082

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

Preview Lab → · Contrast checker → · Palette generator →

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