#422079#422079

#422079 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.6% C 0.142 H 295.4°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#422079
RGBrgb(66, 32, 121)
HSLhsl(263, 58%, 30%)
HSVhsv(263, 74%, 47%)
CMYKcmyk(45.5%, 73.6%, 0%, 52.5%)
CIE-LABlab(22.20, 36.76, -44.80)
CIE-LCHlch(22.20, 57.95, 309.37°)
OKLaboklab(34.56% 0.061 -0.1282)
OKLCHoklch(34.56% 0.142 295.4)
XYZxyz(6.2135, 3.5716, 18.4475)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422079 #577920
analogous
#202B79 #422079 #6E2079
triadic
#422079 #794220 #207942
tetradic
#422079 #79202B #577920 #20796E
square
#422079 #79202B #577920 #20796E
split-complementary
#422079 #796E20 #2B7920
monochromatic
#0D0618 #281349 #422079 #5C2DA9 #7A45CE

Accessibility & contrast

On white

12.25
#422079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#422079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422079
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422079#FFFFFF#000000##FFFFFF
##4220791.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367C
Deuteranopia (green-blind)
#003477
Tritanopia (blue-blind)
#33364A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #422079;
/* rgb */ color: rgb(66, 32, 121);
/* oklch */ color: oklch(34.6% 0.142 295.4);
Tailwind
colors: {
  custom: {
    50: '#7c5fa0',
    500: '#422079',
    950: '#000000',
  },
}
SCSS
$custom: #422079;
$custom-light: #7c5fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#422079",
  "rgb": {
    "r": 66,
    "g": 32,
    "b": 121
  },
  "hsl": {
    "h": 262.921,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.34561,
    "c": 0.14196,
    "h": 295.4
  },
  "luminance": 0.03572
}

Semantic roles & 50–950 ramp

primary
#422079
secondary
#86AC49
accent
#E146A6
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #422079

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

Preview Lab → · Contrast checker → · Palette generator →

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