#7A1B85#7A1B85

#7A1B85 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.8% C 0.177 H 323.3°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#7A1B85
RGBrgb(122, 27, 133)
HSLhsl(294, 66%, 31%)
HSVhsv(294, 80%, 52%)
CMYKcmyk(8.3%, 79.7%, 0%, 47.8%)
CIE-LABlab(30.92, 53.07, -37.87)
CIE-LCHlch(30.92, 65.19, 324.49°)
OKLaboklab(42.79% 0.142 -0.1058)
OKLCHoklch(42.79% 0.177 323.3)
XYZxyz(12.6512, 6.6157, 22.7963)
Luminance0.0662 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1B85 #26851B
analogous
#451B85 #7A1B85 #851B5B
triadic
#7A1B85 #857A1B #1B857A
tetradic
#7A1B85 #85451B #26851B #1B5B85
square
#7A1B85 #85451B #26851B #1B5B85
split-complementary
#7A1B85 #5B851B #1B8545
monochromatic
#1D061F #4B1152 #7A1B85 #A925B8 #C942D9

Accessibility & contrast

On white

9.04
#7A1B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1B85
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1B85#FFFFFF#000000##FFFFFF
##7A1B851.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#2E4C83
Tritanopia (blue-blind)
#7C3050
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a1b85;
/* rgb */ color: rgb(122, 27, 133);
/* oklch */ color: oklch(42.8% 0.177 323.3);
Tailwind
colors: {
  custom: {
    50: '#a464a9',
    500: '#7a1b85',
    950: '#000000',
  },
}
SCSS
$custom: #7a1b85;
$custom-light: #a464a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1b85",
  "rgb": {
    "r": 122,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 293.774,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42786,
    "c": 0.17711,
    "h": 323.3
  },
  "luminance": 0.06615
}

Semantic roles & 50–950 ramp

primary
#7A1B85
secondary
#50B844
accent
#E93F50
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A1B85

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

Preview Lab → · Contrast checker → · Palette generator →

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