#7122A4#7122A4

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

Color values

HEX#7122A4
RGBrgb(113, 34, 164)
HSLhsl(276, 66%, 39%)
HSVhsv(276, 79%, 64%)
CMYKcmyk(31.1%, 79.3%, 0%, 35.7%)
CIE-LABlab(32.56, 55.27, -54.30)
CIE-LCHlch(32.56, 77.48, 315.50°)
OKLaboklab(44.37% 0.1189 -0.1544)
OKLCHoklch(44.37% 0.195 307.6)
XYZxyz(14.0815, 7.3353, 35.7888)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7122A4 #55A422
analogous
#3022A4 #7122A4 #A42296
triadic
#7122A4 #A47122 #22A471
tetradic
#7122A4 #A43022 #55A422 #2296A4
square
#7122A4 #A43022 #55A422 #2296A4
split-complementary
#7122A4 #96A422 #22A430
monochromatic
#2B0D3F #4E1771 #7122A4 #932FD4 #AE62DE

Accessibility & contrast

On white

8.51
#7122A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7122A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7122A4
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7122A4#FFFFFF#000000##FFFFFF
##7122A41.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7122a4;
/* rgb */ color: rgb(113, 34, 164);
/* oklch */ color: oklch(44.4% 0.195 307.6);
Tailwind
colors: {
  custom: {
    50: '#9f67c0',
    500: '#7122a4',
    950: '#000000',
  },
}
SCSS
$custom: #7122a4;
$custom-light: #9f67c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7122a4",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 164
  },
  "hsl": {
    "h": 276.462,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44367,
    "c": 0.1949,
    "h": 307.6
  },
  "luminance": 0.07335
}

Semantic roles & 50–950 ramp

primary
#7122A4
secondary
#86C45E
accent
#E93F82
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #7122A4

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

Preview Lab → · Contrast checker → · Palette generator →

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