#7A2C88#7A2C88

#7A2C88 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.6% C 0.159 H 321.2°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#7A2C88
RGBrgb(122, 44, 136)
HSLhsl(291, 51%, 35%)
HSVhsv(291, 68%, 53%)
CMYKcmyk(10.3%, 67.6%, 0%, 46.7%)
CIE-LABlab(33.39, 47.16, -35.79)
CIE-LCHlch(33.39, 59.20, 322.81°)
OKLaboklab(44.61% 0.1243 -0.0999)
OKLCHoklch(44.61% 0.159 321.2)
XYZxyz(13.3702, 7.7172, 24.0731)
Luminance0.0772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2C88 #3A882C
analogous
#4C2C88 #7A2C88 #882C68
triadic
#7A2C88 #887A2C #2C887A
tetradic
#7A2C88 #884C2C #3A882C #2C6888
square
#7A2C88 #884C2C #3A882C #2C6888
split-complementary
#7A2C88 #68882C #2C884C
monochromatic
#270E2C #511D5A #7A2C88 #A33BB6 #BC62CC

Accessibility & contrast

On white

8.26
#7A2C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7A2C88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2C88
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2C88#FFFFFF#000000##FFFFFF
##7A2C881.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11498B
Deuteranopia (green-blind)
#365186
Tritanopia (blue-blind)
#7B3C56
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7a2c88;
/* rgb */ color: rgb(122, 44, 136);
/* oklch */ color: oklch(44.6% 0.159 321.2);
Tailwind
colors: {
  custom: {
    50: '#a36cab',
    500: '#7a2c88',
    950: '#000000',
  },
}
SCSS
$custom: #7a2c88;
$custom-light: #a36cab;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2c88",
  "rgb": {
    "r": 122,
    "g": 44,
    "b": 136
  },
  "hsl": {
    "h": 290.87,
    "s": 51.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44613,
    "c": 0.15947,
    "h": 321.2
  },
  "luminance": 0.07717
}

Semantic roles & 50–950 ramp

primary
#7A2C88
secondary
#6AB35D
accent
#DB4D63
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #7A2C88

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

Preview Lab → · Contrast checker → · Palette generator →

#7A2C88 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva