#7122AA#7122AA

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

Color values

HEX#7122AA
RGBrgb(113, 34, 170)
HSLhsl(275, 67%, 40%)
HSVhsv(275, 80%, 67%)
CMYKcmyk(33.5%, 80%, 0%, 33.3%)
CIE-LABlab(33.04, 56.61, -57.13)
CIE-LCHlch(33.04, 80.42, 314.74°)
OKLaboklab(44.86% 0.1174 -0.1627)
OKLCHoklch(44.86% 0.201 305.8)
XYZxyz(14.6362, 7.5572, 38.7100)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7122AA #5BAA22
analogous
#2D22AA #7122AA #AA229F
triadic
#7122AA #AA7122 #22AA71
tetradic
#7122AA #AA2D22 #5BAA22 #229FAA
square
#7122AA #AA2D22 #5BAA22 #229FAA
split-complementary
#7122AA #9FAA22 #22AA2D
monochromatic
#2D0E44 #4F1877 #7122AA #9233D6 #AD66E0

Accessibility & contrast

On white

8.36
#7122AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7122AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7122AA#FFFFFF#000000##FFFFFF
##7122AA1.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)
#004CAE
Deuteranopia (green-blind)
#004EA7
Tritanopia (blue-blind)
#664666
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7122aa;
/* rgb */ color: rgb(113, 34, 170);
/* oklch */ color: oklch(44.9% 0.201 305.8);
Tailwind
colors: {
  custom: {
    50: '#9f67c4',
    500: '#7122aa',
    950: '#000000',
  },
}
SCSS
$custom: #7122aa;
$custom-light: #9f67c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7122aa",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 170
  },
  "hsl": {
    "h": 274.853,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.44857,
    "c": 0.20064,
    "h": 305.8
  },
  "luminance": 0.07557
}

Semantic roles & 50–950 ramp

primary
#7122AA
secondary
#8CC662
accent
#EA3E86
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7122AA

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

Preview Lab → · Contrast checker → · Palette generator →

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