#7020A8#7020A8

#7020A8 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.4% C 0.200 H 306.1°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#7020A8
RGBrgb(112, 32, 168)
HSLhsl(275, 68%, 39%)
HSVhsv(275, 81%, 66%)
CMYKcmyk(33.3%, 81%, 0%, 34.1%)
CIE-LABlab(32.49, 56.70, -56.83)
CIE-LCHlch(32.49, 80.28, 314.93°)
OKLaboklab(44.39% 0.1181 -0.1618)
OKLCHoklch(44.39% 0.2 306.1)
XYZxyz(14.2649, 7.3051, 37.6967)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7020A8 #58A820
analogous
#2C20A8 #7020A8 #A8209C
triadic
#7020A8 #A87020 #20A870
tetradic
#7020A8 #A82C20 #58A820 #209CA8
square
#7020A8 #A82C20 #58A820 #209CA8
split-complementary
#7020A8 #9CA820 #20A82C
monochromatic
#2B0C41 #4E1675 #7020A8 #922ED7 #AC61E1

Accessibility & contrast

On white

8.53
#7020A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7020A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7020A8#FFFFFF#000000##FFFFFF
##7020A81.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAC
Deuteranopia (green-blind)
#004DA5
Tritanopia (blue-blind)
#664465
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7020a8;
/* rgb */ color: rgb(112, 32, 168);
/* oklch */ color: oklch(44.4% 0.200 306.1);
Tailwind
colors: {
  custom: {
    50: '#9f66c3',
    500: '#7020a8',
    950: '#000000',
  },
}
SCSS
$custom: #7020a8;
$custom-light: #9f66c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7020a8",
  "rgb": {
    "r": 112,
    "g": 32,
    "b": 168
  },
  "hsl": {
    "h": 275.294,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44391,
    "c": 0.20035,
    "h": 306.1
  },
  "luminance": 0.07305
}

Semantic roles & 50–950 ramp

primary
#7020A8
secondary
#89C65E
accent
#EB3D85
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #7020A8

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

Preview Lab → · Contrast checker → · Palette generator →

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