#7122A0#7122A0

#7122A0 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.0% C 0.191 H 308.9°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#7122A0
RGBrgb(113, 34, 160)
HSLhsl(278, 65%, 38%)
HSVhsv(278, 79%, 63%)
CMYKcmyk(29.4%, 78.8%, 0%, 37.3%)
CIE-LABlab(32.24, 54.38, -52.40)
CIE-LCHlch(32.24, 75.52, 316.06°)
OKLaboklab(44.05% 0.1199 -0.1488)
OKLCHoklch(44.05% 0.191 308.9)
XYZxyz(13.7259, 7.1931, 33.9162)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7122A0 #51A022
analogous
#3222A0 #7122A0 #A02290
triadic
#7122A0 #A07122 #22A071
tetradic
#7122A0 #A03222 #51A022 #2290A0
square
#7122A0 #A03222 #51A022 #2290A0
split-complementary
#7122A0 #90A022 #22A032
monochromatic
#2A0D3B #4D176E #7122A0 #952DD2 #AE5FDD

Accessibility & contrast

On white

8.61
#7122A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7122A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7122A0
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7122A0#FFFFFF#000000##FFFFFF
##7122A01.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A3
Deuteranopia (green-blind)
#004D9D
Tritanopia (blue-blind)
#6A4261
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7122a0;
/* rgb */ color: rgb(113, 34, 160);
/* oklch */ color: oklch(44.0% 0.191 308.9);
Tailwind
colors: {
  custom: {
    50: '#9f67bd',
    500: '#7122a0',
    950: '#000000',
  },
}
SCSS
$custom: #7122a0;
$custom-light: #9f67bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7122a0",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 160
  },
  "hsl": {
    "h": 277.619,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44047,
    "c": 0.19108,
    "h": 308.9
  },
  "luminance": 0.07193
}

Semantic roles & 50–950 ramp

primary
#7122A0
secondary
#82C25C
accent
#E8407F
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #7122A0

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

Preview Lab → · Contrast checker → · Palette generator →

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