#7020AB#7020AB

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

Color values

HEX#7020AB
RGBrgb(112, 32, 171)
HSLhsl(275, 68%, 40%)
HSVhsv(275, 81%, 67%)
CMYKcmyk(34.5%, 81.3%, 0%, 32.9%)
CIE-LABlab(32.74, 57.37, -58.23)
CIE-LCHlch(32.74, 81.74, 314.58°)
OKLaboklab(44.64% 0.1173 -0.1659)
OKLCHoklch(44.64% 0.203 305.2)
XYZxyz(14.5476, 7.4181, 39.1856)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7020AB #5BAB20
analogous
#2A20AB #7020AB #AB20A1
triadic
#7020AB #AB7020 #20AB70
tetradic
#7020AB #AB2A20 #5BAB20 #20A1AB
square
#7020AB #AB2A20 #5BAB20 #20A1AB
split-complementary
#7020AB #A1AB20 #20AB2A
monochromatic
#2C0D44 #4E1677 #7020AB #9130D8 #AC63E2

Accessibility & contrast

On white

8.46
#7020AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##7020AB#FFFFFF#000000##FFFFFF
##7020AB1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAF
Deuteranopia (green-blind)
#004DA8
Tritanopia (blue-blind)
#654667
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7020ab;
/* rgb */ color: rgb(112, 32, 171);
/* oklch */ color: oklch(44.6% 0.203 305.2);
Tailwind
colors: {
  custom: {
    50: '#9f66c5',
    500: '#7020ab',
    950: '#000000',
  },
}
SCSS
$custom: #7020ab;
$custom-light: #9f66c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7020ab",
  "rgb": {
    "r": 112,
    "g": 32,
    "b": 171
  },
  "hsl": {
    "h": 274.532,
    "s": 68.473,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44641,
    "c": 0.20319,
    "h": 305.2
  },
  "luminance": 0.07418
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7020AB

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

Preview Lab → · Contrast checker → · Palette generator →

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