#7420A8#7420A8

#7420A8 is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.9% C 0.201 H 307.9°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#7420A8
RGBrgb(116, 32, 168)
HSLhsl(277, 68%, 39%)
HSVhsv(277, 81%, 66%)
CMYKcmyk(31%, 81%, 0%, 34.1%)
CIE-LABlab(33.08, 57.36, -55.85)
CIE-LCHlch(33.08, 80.06, 315.77°)
OKLaboklab(44.92% 0.1237 -0.1588)
OKLCHoklch(44.92% 0.201 307.9)
XYZxyz(14.7854, 7.5734, 37.7211)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7420A8 #54A820
analogous
#3020A8 #7420A8 #A82098
triadic
#7420A8 #A87420 #20A874
tetradic
#7420A8 #A83020 #54A820 #2098A8
square
#7420A8 #A83020 #54A820 #2098A8
split-complementary
#7420A8 #98A820 #20A830
monochromatic
#2D0C41 #511675 #7420A8 #972ED7 #B061E1

Accessibility & contrast

On white

8.35
#7420A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7420A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7420A8
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7420A8#FFFFFF#000000##FFFFFF
##7420A81.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#004FA5
Tritanopia (blue-blind)
#6B4465
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7420a8;
/* rgb */ color: rgb(116, 32, 168);
/* oklch */ color: oklch(44.9% 0.201 307.9);
Tailwind
colors: {
  custom: {
    50: '#a167c3',
    500: '#7420a8',
    950: '#000000',
  },
}
SCSS
$custom: #7420a8;
$custom-light: #a167c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7420a8",
  "rgb": {
    "r": 116,
    "g": 32,
    "b": 168
  },
  "hsl": {
    "h": 277.059,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44922,
    "c": 0.20133,
    "h": 307.9
  },
  "luminance": 0.07573
}

Semantic roles & 50–950 ramp

primary
#7420A8
secondary
#86C65E
accent
#EB3D7F
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7420A8

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

Preview Lab → · Contrast checker → · Palette generator →

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