#7020A5#7020A5

#7020A5 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.1% C 0.198 H 307.0°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#7020A5
RGBrgb(112, 32, 165)
HSLhsl(276, 68%, 39%)
HSVhsv(276, 81%, 65%)
CMYKcmyk(32.1%, 80.6%, 0%, 35.3%)
CIE-LABlab(32.25, 56.03, -55.42)
CIE-LCHlch(32.25, 78.81, 315.31°)
OKLaboklab(44.14% 0.1189 -0.1577)
OKLCHoklch(44.14% 0.198 307)
XYZxyz(13.9887, 7.1946, 36.2418)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7020A5 #55A520
analogous
#2D20A5 #7020A5 #A52097
triadic
#7020A5 #A57020 #20A570
tetradic
#7020A5 #A52D20 #55A520 #2097A5
square
#7020A5 #A52D20 #55A520 #2097A5
split-complementary
#7020A5 #97A520 #20A52D
monochromatic
#2A0C3E #4D1672 #7020A5 #922CD6 #AD5FE0

Accessibility & contrast

On white

8.61
#7020A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7020A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7020A5
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7020A5#FFFFFF#000000##FFFFFF
##7020A51.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A9
Deuteranopia (green-blind)
#004CA2
Tritanopia (blue-blind)
#674363
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7020a5;
/* rgb */ color: rgb(112, 32, 165);
/* oklch */ color: oklch(44.1% 0.198 307.0);
Tailwind
colors: {
  custom: {
    50: '#9f66c1',
    500: '#7020a5',
    950: '#000000',
  },
}
SCSS
$custom: #7020a5;
$custom-light: #9f66c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7020a5",
  "rgb": {
    "r": 112,
    "g": 32,
    "b": 165
  },
  "hsl": {
    "h": 276.09,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44143,
    "c": 0.1975,
    "h": 307
  },
  "luminance": 0.07194
}

Semantic roles & 50–950 ramp

primary
#7020A5
secondary
#86C55C
accent
#EA3D82
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #7020A5

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

Preview Lab → · Contrast checker → · Palette generator →

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