#7020A1#7020A1

#7020A1 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.8% C 0.194 H 308.2°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#7020A1
RGBrgb(112, 32, 161)
HSLhsl(277, 67%, 38%)
HSVhsv(277, 80%, 63%)
CMYKcmyk(30.4%, 80.1%, 0%, 36.9%)
CIE-LABlab(31.92, 55.15, -53.53)
CIE-LCHlch(31.92, 76.86, 315.85°)
OKLaboklab(43.82% 0.1199 -0.1521)
OKLCHoklch(43.82% 0.194 308.2)
XYZxyz(13.6303, 7.0512, 34.3543)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7020A1 #51A120
analogous
#2F20A1 #7020A1 #A12091
triadic
#7020A1 #A17020 #20A170
tetradic
#7020A1 #A12F20 #51A120 #2091A1
square
#7020A1 #A12F20 #51A120 #2091A1
split-complementary
#7020A1 #91A120 #20A12F
monochromatic
#290C3B #4C166E #7020A1 #942AD4 #AD5DDF

Accessibility & contrast

On white

8.71
#7020A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7020A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7020A1#FFFFFF#000000##FFFFFF
##7020A11.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A4
Deuteranopia (green-blind)
#004C9E
Tritanopia (blue-blind)
#684161
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7020a1;
/* rgb */ color: rgb(112, 32, 161);
/* oklch */ color: oklch(43.8% 0.194 308.2);
Tailwind
colors: {
  custom: {
    50: '#9e66be',
    500: '#7020a1',
    950: '#000000',
  },
}
SCSS
$custom: #7020a1;
$custom-light: #9e66be;
$custom-dark: #000000;
JSON
{
  "hex": "#7020a1",
  "rgb": {
    "r": 112,
    "g": 32,
    "b": 161
  },
  "hsl": {
    "h": 277.209,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43817,
    "c": 0.19372,
    "h": 308.2
  },
  "luminance": 0.07051
}

Semantic roles & 50–950 ramp

primary
#7020A1
secondary
#82C35A
accent
#EA3E7F
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #7020A1

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

Preview Lab → · Contrast checker → · Palette generator →

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