#7022AC#7022AC

#7022AC is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.9% C 0.202 H 304.8°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#7022AC
RGBrgb(112, 34, 172)
HSLhsl(274, 67%, 40%)
HSVhsv(274, 80%, 67%)
CMYKcmyk(34.9%, 80.2%, 0%, 32.5%)
CIE-LABlab(33.07, 56.89, -58.30)
CIE-LCHlch(33.07, 81.46, 314.30°)
OKLaboklab(44.89% 0.1155 -0.1662)
OKLCHoklch(44.89% 0.202 304.8)
XYZxyz(14.6988, 7.5674, 39.7080)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7022AC #5EAC22
analogous
#2B22AC #7022AC #AC22A3
triadic
#7022AC #AC7022 #22AC70
tetradic
#7022AC #AC2B22 #5EAC22 #22A3AC
square
#7022AC #AC2B22 #5EAC22 #22A3AC
split-complementary
#7022AC #A3AC22 #22AC2B
monochromatic
#2D0E46 #4F1879 #7022AC #9034D7 #AC67E1

Accessibility & contrast

On white

8.36
#7022AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7022AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7022AC#FFFFFF#000000##FFFFFF
##7022AC1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#004EA9
Tritanopia (blue-blind)
#644768
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7022ac;
/* rgb */ color: rgb(112, 34, 172);
/* oklch */ color: oklch(44.9% 0.202 304.8);
Tailwind
colors: {
  custom: {
    50: '#9f67c6',
    500: '#7022ac',
    950: '#000000',
  },
}
SCSS
$custom: #7022ac;
$custom-light: #9f67c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7022ac",
  "rgb": {
    "r": 112,
    "g": 34,
    "b": 172
  },
  "hsl": {
    "h": 273.913,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44893,
    "c": 0.20234,
    "h": 304.8
  },
  "luminance": 0.07567
}

Semantic roles & 50–950 ramp

primary
#7022AC
secondary
#8EC763
accent
#EA3E89
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7022AC

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

Preview Lab → · Contrast checker → · Palette generator →

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