#7A1B88#7A1B88

#7A1B88 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.0% C 0.180 H 322.1°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#7A1B88
RGBrgb(122, 27, 136)
HSLhsl(292, 67%, 32%)
HSVhsv(292, 80%, 53%)
CMYKcmyk(10.3%, 80.1%, 0%, 46.7%)
CIE-LABlab(31.11, 53.62, -39.42)
CIE-LCHlch(31.11, 66.55, 323.68°)
OKLaboklab(42.99% 0.1417 -0.1104)
OKLCHoklch(42.99% 0.18 322.1)
XYZxyz(12.8614, 6.6998, 23.9035)
Luminance0.0670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1B88 #29881B
analogous
#441B88 #7A1B88 #881B5F
triadic
#7A1B88 #887A1B #1B887A
tetradic
#7A1B88 #88441B #29881B #1B5F88
square
#7A1B88 #88441B #29881B #1B5F88
split-complementary
#7A1B88 #5F881B #1B8844
monochromatic
#1E0722 #4C1155 #7A1B88 #A825BB #C744DA

Accessibility & contrast

On white

8.98
#7A1B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7A1B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1B88
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1B88#FFFFFF#000000##FFFFFF
##7A1B881.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438B
Deuteranopia (green-blind)
#2C4D86
Tritanopia (blue-blind)
#7B3151
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a1b88;
/* rgb */ color: rgb(122, 27, 136);
/* oklch */ color: oklch(43.0% 0.180 322.1);
Tailwind
colors: {
  custom: {
    50: '#a464ab',
    500: '#7a1b88',
    950: '#000000',
  },
}
SCSS
$custom: #7a1b88;
$custom-light: #a464ab;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1b88",
  "rgb": {
    "r": 122,
    "g": 27,
    "b": 136
  },
  "hsl": {
    "h": 292.294,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4299,
    "c": 0.17962,
    "h": 322.1
  },
  "luminance": 0.06699
}

Semantic roles & 50–950 ramp

primary
#7A1B88
secondary
#53BB44
accent
#EA3E54
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A1B88

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

Preview Lab → · Contrast checker → · Palette generator →

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