#7A1C85#7A1C85

#7A1C85 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.176 H 323.3°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#7A1C85
RGBrgb(122, 28, 133)
HSLhsl(294, 65%, 32%)
HSVhsv(294, 79%, 52%)
CMYKcmyk(8.3%, 78.9%, 0%, 47.8%)
CIE-LABlab(31.03, 52.75, -37.69)
CIE-LCHlch(31.03, 64.83, 324.45°)
OKLaboklab(42.86% 0.1412 -0.1053)
OKLCHoklch(42.86% 0.176 323.3)
XYZxyz(12.6745, 6.6623, 22.8041)
Luminance0.0666 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1C85 #27851C
analogous
#461C85 #7A1C85 #851C5C
triadic
#7A1C85 #857A1C #1C857A
tetradic
#7A1C85 #85461C #27851C #1C5C85
square
#7A1C85 #85461C #27851C #1C5C85
split-complementary
#7A1C85 #5C851C #1C8546
monochromatic
#1D0720 #4C1152 #7A1C85 #A827B8 #C844D8

Accessibility & contrast

On white

9.00
#7A1C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7A1C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1C85
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1C85#FFFFFF#000000##FFFFFF
##7A1C851.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a1c85;
/* rgb */ color: rgb(122, 28, 133);
/* oklch */ color: oklch(42.9% 0.176 323.3);
Tailwind
colors: {
  custom: {
    50: '#a464a9',
    500: '#7a1c85',
    950: '#000000',
  },
}
SCSS
$custom: #7a1c85;
$custom-light: #a464a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1c85",
  "rgb": {
    "r": 122,
    "g": 28,
    "b": 133
  },
  "hsl": {
    "h": 293.714,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42864,
    "c": 0.17611,
    "h": 323.3
  },
  "luminance": 0.06662
}

Semantic roles & 50–950 ramp

primary
#7A1C85
secondary
#51B845
accent
#E84051
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A1C85

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

Preview Lab → · Contrast checker → · Palette generator →

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