#7020AC#7020AC

#7020AC is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.7% C 0.204 H 305.0°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#7020AC
RGBrgb(112, 32, 172)
HSLhsl(274, 69%, 40%)
HSVhsv(274, 81%, 67%)
CMYKcmyk(34.9%, 81.4%, 0%, 32.5%)
CIE-LABlab(32.82, 57.59, -58.69)
CIE-LCHlch(32.82, 82.23, 314.46°)
OKLaboklab(44.73% 0.117 -0.1673)
OKLCHoklch(44.73% 0.204 305)
XYZxyz(14.6433, 7.4564, 39.6895)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7020AC #5CAC20
analogous
#2A20AC #7020AC #AC20A2
triadic
#7020AC #AC7020 #20AC70
tetradic
#7020AC #AC2A20 #5CAC20 #20A2AC
square
#7020AC #AC2A20 #5CAC20 #20A2AC
split-complementary
#7020AC #A2AC20 #20AC2A
monochromatic
#2D0D45 #4E1678 #7020AC #9131D9 #AC64E2

Accessibility & contrast

On white

8.43
#7020AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7020AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7020AC#FFFFFF#000000##FFFFFF
##7020AC1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB0
Deuteranopia (green-blind)
#004DA9
Tritanopia (blue-blind)
#644667
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7020ac;
/* rgb */ color: rgb(112, 32, 172);
/* oklch */ color: oklch(44.7% 0.204 305.0);
Tailwind
colors: {
  custom: {
    50: '#9f66c6',
    500: '#7020ac',
    950: '#000000',
  },
}
SCSS
$custom: #7020ac;
$custom-light: #9f66c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7020ac",
  "rgb": {
    "r": 112,
    "g": 32,
    "b": 172
  },
  "hsl": {
    "h": 274.286,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.44725,
    "c": 0.20414,
    "h": 305
  },
  "luminance": 0.07456
}

Semantic roles & 50–950 ramp

primary
#7020AC
secondary
#8DC760
accent
#EB3C87
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #7020AC

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

Preview Lab → · Contrast checker → · Palette generator →

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