#7022A2#7022A2

#7022A2 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.1% C 0.193 H 307.8°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#7022A2
RGBrgb(112, 34, 162)
HSLhsl(277, 65%, 38%)
HSVhsv(277, 79%, 64%)
CMYKcmyk(30.9%, 79%, 0%, 36.5%)
CIE-LABlab(32.25, 54.65, -53.60)
CIE-LCHlch(32.25, 76.54, 315.55°)
OKLaboklab(44.07% 0.118 -0.1524)
OKLCHoklch(44.07% 0.193 307.8)
XYZxyz(13.7743, 7.1976, 34.8391)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7022A2 #54A222
analogous
#3022A2 #7022A2 #A22294
triadic
#7022A2 #A27022 #22A270
tetradic
#7022A2 #A23022 #54A222 #2294A2
square
#7022A2 #A23022 #54A222 #2294A2
split-complementary
#7022A2 #94A222 #22A230
monochromatic
#2A0D3D #4D176F #7022A2 #932ED3 #AD61DE

Accessibility & contrast

On white

8.61
#7022A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7022A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7022A2
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7022A2#FFFFFF#000000##FFFFFF
##7022A21.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#004D9F
Tritanopia (blue-blind)
#684362
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7022a2;
/* rgb */ color: rgb(112, 34, 162);
/* oklch */ color: oklch(44.1% 0.193 307.8);
Tailwind
colors: {
  custom: {
    50: '#9e67be',
    500: '#7022a2',
    950: '#000000',
  },
}
SCSS
$custom: #7022a2;
$custom-light: #9e67be;
$custom-dark: #000000;
JSON
{
  "hex": "#7022a2",
  "rgb": {
    "r": 112,
    "g": 34,
    "b": 162
  },
  "hsl": {
    "h": 276.563,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44073,
    "c": 0.19273,
    "h": 307.8
  },
  "luminance": 0.07197
}

Semantic roles & 50–950 ramp

primary
#7022A2
secondary
#85C35D
accent
#E84081
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #7022A2

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

Preview Lab → · Contrast checker → · Palette generator →

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