#7A1B84#7A1B84

#7A1B84 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.176 H 323.7°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#7A1B84
RGBrgb(122, 27, 132)
HSLhsl(294, 66%, 31%)
HSVhsv(294, 80%, 52%)
CMYKcmyk(7.6%, 79.5%, 0%, 48.2%)
CIE-LABlab(30.85, 52.89, -37.35)
CIE-LCHlch(30.85, 64.75, 324.77°)
OKLaboklab(42.72% 0.1421 -0.1043)
OKLCHoklch(42.72% 0.176 323.7)
XYZxyz(12.5825, 6.5882, 22.4342)
Luminance0.0659 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1B84 #25841B
analogous
#451B84 #7A1B84 #841B59
triadic
#7A1B84 #847A1B #1B847A
tetradic
#7A1B84 #84451B #25841B #1B5984
square
#7A1B84 #84451B #25841B #1B5984
split-complementary
#7A1B84 #59841B #1B8445
monochromatic
#1C061E #4B1151 #7A1B84 #A925B7 #CA41D8

Accessibility & contrast

On white

9.06
#7A1B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7A1B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1B84
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1B84#FFFFFF#000000##FFFFFF
##7A1B841.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004287
Deuteranopia (green-blind)
#2F4C82
Tritanopia (blue-blind)
#7C304F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a1b84;
/* rgb */ color: rgb(122, 27, 132);
/* oklch */ color: oklch(42.7% 0.176 323.7);
Tailwind
colors: {
  custom: {
    50: '#a464a8',
    500: '#7a1b84',
    950: '#000000',
  },
}
SCSS
$custom: #7a1b84;
$custom-light: #a464a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1b84",
  "rgb": {
    "r": 122,
    "g": 27,
    "b": 132
  },
  "hsl": {
    "h": 294.286,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42719,
    "c": 0.17628,
    "h": 323.7
  },
  "luminance": 0.06587
}

Semantic roles & 50–950 ramp

primary
#7A1B84
secondary
#4EB743
accent
#E93F4F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A1B84

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

Preview Lab → · Contrast checker → · Palette generator →

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