#7122A2#7122A2

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

Color values

HEX#7122A2
RGBrgb(113, 34, 162)
HSLhsl(277, 65%, 38%)
HSVhsv(277, 79%, 64%)
CMYKcmyk(30.2%, 79%, 0%, 36.5%)
CIE-LABlab(32.40, 54.82, -53.35)
CIE-LCHlch(32.40, 76.50, 315.78°)
OKLaboklab(44.21% 0.1194 -0.1516)
OKLCHoklch(44.21% 0.193 308.2)
XYZxyz(13.9023, 7.2636, 34.8451)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7122A2 #53A222
analogous
#3122A2 #7122A2 #A22293
triadic
#7122A2 #A27122 #22A271
tetradic
#7122A2 #A23122 #53A222 #2293A2
square
#7122A2 #A23122 #53A222 #2293A2
split-complementary
#7122A2 #93A222 #22A231
monochromatic
#2A0D3D #4E176F #7122A2 #942ED3 #AE61DE

Accessibility & contrast

On white

8.56
#7122A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7122A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7122A2
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7122A2#FFFFFF#000000##FFFFFF
##7122A21.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)
#0049A5
Deuteranopia (green-blind)
#004D9F
Tritanopia (blue-blind)
#694262
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7122a2;
/* rgb */ color: rgb(113, 34, 162);
/* oklch */ color: oklch(44.2% 0.193 308.2);
Tailwind
colors: {
  custom: {
    50: '#9f67be',
    500: '#7122a2',
    950: '#000000',
  },
}
SCSS
$custom: #7122a2;
$custom-light: #9f67be;
$custom-dark: #000000;
JSON
{
  "hex": "#7122a2",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 162
  },
  "hsl": {
    "h": 277.031,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44206,
    "c": 0.19299,
    "h": 308.2
  },
  "luminance": 0.07263
}

Semantic roles & 50–950 ramp

primary
#7122A2
secondary
#84C35D
accent
#E84080
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #7122A2

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

Preview Lab → · Contrast checker → · Palette generator →

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