#7020AA#7020AA

#7020AA is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.6% C 0.202 H 305.5°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#7020AA
RGBrgb(112, 32, 170)
HSLhsl(275, 68%, 40%)
HSVhsv(275, 81%, 67%)
CMYKcmyk(34.1%, 81.2%, 0%, 33.3%)
CIE-LABlab(32.66, 57.14, -57.76)
CIE-LCHlch(32.66, 81.25, 314.69°)
OKLaboklab(44.56% 0.1175 -0.1646)
OKLCHoklch(44.56% 0.202 305.5)
XYZxyz(14.4527, 7.3802, 38.6855)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7020AA #5AAA20
analogous
#2B20AA #7020AA #AA209F
triadic
#7020AA #AA7020 #20AA70
tetradic
#7020AA #AA2B20 #5AAA20 #209FAA
square
#7020AA #AA2B20 #5AAA20 #209FAA
split-complementary
#7020AA #9FAA20 #20AA2B
monochromatic
#2C0D43 #4E1676 #7020AA #912FD8 #AC63E2

Accessibility & contrast

On white

8.48
#7020AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7020AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7020AA#FFFFFF#000000##FFFFFF
##7020AA1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#004DA7
Tritanopia (blue-blind)
#654566
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7020aa;
/* rgb */ color: rgb(112, 32, 170);
/* oklch */ color: oklch(44.6% 0.202 305.5);
Tailwind
colors: {
  custom: {
    50: '#9f66c4',
    500: '#7020aa',
    950: '#000000',
  },
}
SCSS
$custom: #7020aa;
$custom-light: #9f66c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7020aa",
  "rgb": {
    "r": 112,
    "g": 32,
    "b": 170
  },
  "hsl": {
    "h": 274.783,
    "s": 68.317,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44558,
    "c": 0.20224,
    "h": 305.5
  },
  "luminance": 0.0738
}

Semantic roles & 50–950 ramp

primary
#7020AA
secondary
#8BC75F
accent
#EB3D86
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #7020AA

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

Preview Lab → · Contrast checker → · Palette generator →

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