#7020A0#7020A0

#7020A0 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.7% C 0.193 H 308.6°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#7020A0
RGBrgb(112, 32, 160)
HSLhsl(278, 67%, 38%)
HSVhsv(278, 80%, 63%)
CMYKcmyk(30%, 80%, 0%, 37.3%)
CIE-LABlab(31.84, 54.93, -53.05)
CIE-LCHlch(31.84, 76.37, 315.99°)
OKLaboklab(43.74% 0.1202 -0.1507)
OKLCHoklch(43.74% 0.193 308.6)
XYZxyz(13.5424, 7.0161, 33.8917)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7020A0 #50A020
analogous
#3020A0 #7020A0 #A02090
triadic
#7020A0 #A07020 #20A070
tetradic
#7020A0 #A03020 #50A020 #2090A0
square
#7020A0 #A03020 #50A020 #2090A0
split-complementary
#7020A0 #90A020 #20A030
monochromatic
#290C3A #4C166D #7020A0 #942AD3 #AD5CDE

Accessibility & contrast

On white

8.74
#7020A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7020A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7020A0#FFFFFF#000000##FFFFFF
##7020A01.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A3
Deuteranopia (green-blind)
#004C9D
Tritanopia (blue-blind)
#684160
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7020a0;
/* rgb */ color: rgb(112, 32, 160);
/* oklch */ color: oklch(43.7% 0.193 308.6);
Tailwind
colors: {
  custom: {
    50: '#9e66bd',
    500: '#7020a0',
    950: '#000000',
  },
}
SCSS
$custom: #7020a0;
$custom-light: #9e66bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7020a0",
  "rgb": {
    "r": 112,
    "g": 32,
    "b": 160
  },
  "hsl": {
    "h": 277.5,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43736,
    "c": 0.19277,
    "h": 308.6
  },
  "luminance": 0.07016
}

Semantic roles & 50–950 ramp

primary
#7020A0
secondary
#81C359
accent
#EA3E7E
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #7020A0

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

Preview Lab → · Contrast checker → · Palette generator →

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