#7420A6#7420A6

#7420A6 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.8% C 0.199 H 308.5°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#7420A6
RGBrgb(116, 32, 166)
HSLhsl(278, 68%, 39%)
HSVhsv(278, 81%, 65%)
CMYKcmyk(30.1%, 80.7%, 0%, 34.9%)
CIE-LABlab(32.92, 56.93, -54.91)
CIE-LCHlch(32.92, 79.09, 316.04°)
OKLaboklab(44.76% 0.1242 -0.156)
OKLCHoklch(44.76% 0.199 308.5)
XYZxyz(14.6005, 7.4995, 36.7474)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7420A6 #52A620
analogous
#3120A6 #7420A6 #A62095
triadic
#7420A6 #A67420 #20A674
tetradic
#7420A6 #A63120 #52A620 #2095A6
square
#7420A6 #A63120 #52A620 #2095A6
split-complementary
#7420A6 #95A620 #20A631
monochromatic
#2C0C3F #501673 #7420A6 #972DD6 #B060E0

Accessibility & contrast

On white

8.40
#7420A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7420A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7420A6
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7420A6#FFFFFF#000000##FFFFFF
##7420A61.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAA
Deuteranopia (green-blind)
#004EA3
Tritanopia (blue-blind)
#6C4364
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7420a6;
/* rgb */ color: rgb(116, 32, 166);
/* oklch */ color: oklch(44.8% 0.199 308.5);
Tailwind
colors: {
  custom: {
    50: '#a167c1',
    500: '#7420a6',
    950: '#000000',
  },
}
SCSS
$custom: #7420a6;
$custom-light: #a167c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7420a6",
  "rgb": {
    "r": 116,
    "g": 32,
    "b": 166
  },
  "hsl": {
    "h": 277.612,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4476,
    "c": 0.19947,
    "h": 308.5
  },
  "luminance": 0.07499
}

Semantic roles & 50–950 ramp

primary
#7420A6
secondary
#84C55D
accent
#EB3D7E
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7420A6

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

Preview Lab → · Contrast checker → · Palette generator →

#7420A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva