#7022A4#7022A4

#7022A4 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.2% C 0.195 H 307.1°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#7022A4
RGBrgb(112, 34, 164)
HSLhsl(276, 66%, 39%)
HSVhsv(276, 79%, 64%)
CMYKcmyk(31.7%, 79.3%, 0%, 35.7%)
CIE-LABlab(32.41, 55.09, -54.55)
CIE-LCHlch(32.41, 77.53, 315.28°)
OKLaboklab(44.23% 0.1175 -0.1552)
OKLCHoklch(44.23% 0.195 307.1)
XYZxyz(13.9535, 7.2693, 35.7828)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7022A4 #56A422
analogous
#2F22A4 #7022A4 #A42297
triadic
#7022A4 #A47022 #22A470
tetradic
#7022A4 #A42F22 #56A422 #2297A4
square
#7022A4 #A42F22 #56A422 #2297A4
split-complementary
#7022A4 #97A422 #22A42F
monochromatic
#2B0D3F #4D1771 #7022A4 #922FD4 #AD62DE

Accessibility & contrast

On white

8.56
#7022A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7022A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7022A4
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7022A4#FFFFFF#000000##FFFFFF
##7022A41.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA8
Deuteranopia (green-blind)
#004DA1
Tritanopia (blue-blind)
#674463
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7022a4;
/* rgb */ color: rgb(112, 34, 164);
/* oklch */ color: oklch(44.2% 0.195 307.1);
Tailwind
colors: {
  custom: {
    50: '#9e67c0',
    500: '#7022a4',
    950: '#000000',
  },
}
SCSS
$custom: #7022a4;
$custom-light: #9e67c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7022a4",
  "rgb": {
    "r": 112,
    "g": 34,
    "b": 164
  },
  "hsl": {
    "h": 276,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44234,
    "c": 0.19465,
    "h": 307.1
  },
  "luminance": 0.07269
}

Semantic roles & 50–950 ramp

primary
#7022A4
secondary
#87C45E
accent
#E93F83
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #7022A4

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

Preview Lab → · Contrast checker → · Palette generator →

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