#7022AA#7022AA

#7022AA is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.7% C 0.200 H 305.4°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#7022AA
RGBrgb(112, 34, 170)
HSLhsl(274, 67%, 40%)
HSVhsv(274, 80%, 67%)
CMYKcmyk(34.1%, 80%, 0%, 33.3%)
CIE-LABlab(32.90, 56.44, -57.37)
CIE-LCHlch(32.90, 80.48, 314.53°)
OKLaboklab(44.73% 0.116 -0.1634)
OKLCHoklch(44.73% 0.2 305.4)
XYZxyz(14.5082, 7.4912, 38.7040)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7022AA #5CAA22
analogous
#2C22AA #7022AA #AA22A0
triadic
#7022AA #AA7022 #22AA70
tetradic
#7022AA #AA2C22 #5CAA22 #22A0AA
square
#7022AA #AA2C22 #5CAA22 #22A0AA
split-complementary
#7022AA #A0AA22 #22AA2C
monochromatic
#2D0E44 #4E1877 #7022AA #9133D6 #AC66E0

Accessibility & contrast

On white

8.41
#7022AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7022AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7022AA#FFFFFF#000000##FFFFFF
##7022AA1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#004EA7
Tritanopia (blue-blind)
#654666
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7022aa;
/* rgb */ color: rgb(112, 34, 170);
/* oklch */ color: oklch(44.7% 0.200 305.4);
Tailwind
colors: {
  custom: {
    50: '#9f67c4',
    500: '#7022aa',
    950: '#000000',
  },
}
SCSS
$custom: #7022aa;
$custom-light: #9f67c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7022aa",
  "rgb": {
    "r": 112,
    "g": 34,
    "b": 170
  },
  "hsl": {
    "h": 274.412,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.44727,
    "c": 0.20042,
    "h": 305.4
  },
  "luminance": 0.07491
}

Semantic roles & 50–950 ramp

primary
#7022AA
secondary
#8DC662
accent
#EA3E87
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7022AA

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

Preview Lab → · Contrast checker → · Palette generator →

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