#422184#422184

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

Color values

HEX#422184
RGBrgb(66, 33, 132)
HSLhsl(260, 60%, 32%)
HSVhsv(260, 75%, 52%)
CMYKcmyk(50%, 75%, 0%, 48.2%)
CIE-LABlab(23.38, 39.40, -49.85)
CIE-LCHlch(23.38, 63.54, 308.32°)
OKLaboklab(35.7% 0.0575 -0.143)
OKLCHoklch(35.7% 0.154 291.9)
XYZxyz(6.9543, 3.9117, 22.2139)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422184 #638421
analogous
#213284 #422184 #742184
triadic
#422184 #844221 #218442
tetradic
#422184 #842132 #638421 #218474
square
#422184 #842132 #638421 #218474
split-complementary
#422184 #847421 #328421
monochromatic
#110922 #2A1553 #422184 #5A2DB5 #794DD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##422184#FFFFFF#000000##FFFFFF
##4221841.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)
#003987
Deuteranopia (green-blind)
#003682
Tritanopia (blue-blind)
#2D3B50
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #422184;
/* rgb */ color: rgb(66, 33, 132);
/* oklch */ color: oklch(35.7% 0.154 291.9);
Tailwind
colors: {
  custom: {
    50: '#7d60a9',
    500: '#422184',
    950: '#000000',
  },
}
SCSS
$custom: #422184;
$custom-light: #7d60a9;
$custom-dark: #000000;
JSON
{
  "hex": "#422184",
  "rgb": {
    "r": 66,
    "g": 33,
    "b": 132
  },
  "hsl": {
    "h": 260,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.357,
    "c": 0.15415,
    "h": 291.9
  },
  "luminance": 0.03912
}

Semantic roles & 50–950 ramp

primary
#422184
secondary
#92B64B
accent
#E345AE
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #422184

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

Preview Lab → · Contrast checker → · Palette generator →

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