#7020A3#7020A3

#7020A3 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 44.0% C 0.196 H 307.6°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#7020A3
RGBrgb(112, 32, 163)
HSLhsl(277, 67%, 38%)
HSVhsv(277, 80%, 64%)
CMYKcmyk(31.3%, 80.4%, 0%, 36.1%)
CIE-LABlab(32.08, 55.59, -54.48)
CIE-LCHlch(32.08, 77.83, 315.58°)
OKLaboklab(43.98% 0.1194 -0.1549)
OKLCHoklch(43.98% 0.196 307.6)
XYZxyz(13.8081, 7.1223, 35.2906)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7020A3 #53A320
analogous
#2E20A3 #7020A3 #A32094
triadic
#7020A3 #A37020 #20A370
tetradic
#7020A3 #A32E20 #53A320 #2094A3
square
#7020A3 #A32E20 #53A320 #2094A3
split-complementary
#7020A3 #94A320 #20A32E
monochromatic
#2A0C3D #4D1670 #7020A3 #932BD5 #AD5EDF

Accessibility & contrast

On white

8.66
#7020A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7020A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7020A3
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7020A3#FFFFFF#000000##FFFFFF
##7020A31.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A7
Deuteranopia (green-blind)
#004CA0
Tritanopia (blue-blind)
#674262
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7020a3;
/* rgb */ color: rgb(112, 32, 163);
/* oklch */ color: oklch(44.0% 0.196 307.6);
Tailwind
colors: {
  custom: {
    50: '#9e66bf',
    500: '#7020a3',
    950: '#000000',
  },
}
SCSS
$custom: #7020a3;
$custom-light: #9e66bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7020a3",
  "rgb": {
    "r": 112,
    "g": 32,
    "b": 163
  },
  "hsl": {
    "h": 276.641,
    "s": 67.179,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43979,
    "c": 0.19561,
    "h": 307.6
  },
  "luminance": 0.07122
}

Semantic roles & 50–950 ramp

primary
#7020A3
secondary
#84C45B
accent
#EA3E81
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #7020A3

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

Preview Lab → · Contrast checker → · Palette generator →

#7020A3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva