#7022A0#7022A0

#7022A0 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.9% C 0.191 H 308.4°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#7022A0
RGBrgb(112, 34, 160)
HSLhsl(277, 65%, 38%)
HSVhsv(277, 79%, 63%)
CMYKcmyk(30%, 78.8%, 0%, 37.3%)
CIE-LABlab(32.09, 54.20, -52.65)
CIE-LCHlch(32.09, 75.56, 315.83°)
OKLaboklab(43.91% 0.1185 -0.1496)
OKLCHoklch(43.91% 0.191 308.4)
XYZxyz(13.5980, 7.1271, 33.9102)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7022A0 #52A022
analogous
#3122A0 #7022A0 #A02291
triadic
#7022A0 #A07022 #22A070
tetradic
#7022A0 #A03122 #52A022 #2291A0
square
#7022A0 #A03122 #52A022 #2291A0
split-complementary
#7022A0 #91A022 #22A031
monochromatic
#290D3B #4D176E #7022A0 #932DD2 #AD5FDD

Accessibility & contrast

On white

8.66
#7022A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7022A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7022A0
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7022A0#FFFFFF#000000##FFFFFF
##7022A01.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7022a0;
/* rgb */ color: rgb(112, 34, 160);
/* oklch */ color: oklch(43.9% 0.191 308.4);
Tailwind
colors: {
  custom: {
    50: '#9e67bd',
    500: '#7022a0',
    950: '#000000',
  },
}
SCSS
$custom: #7022a0;
$custom-light: #9e67bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7022a0",
  "rgb": {
    "r": 112,
    "g": 34,
    "b": 160
  },
  "hsl": {
    "h": 277.143,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43912,
    "c": 0.1908,
    "h": 308.4
  },
  "luminance": 0.07127
}

Semantic roles & 50–950 ramp

primary
#7022A0
secondary
#83C25C
accent
#E84080
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #7022A0

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

Preview Lab → · Contrast checker → · Palette generator →

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