#7A1C84#7A1C84

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

Color values

HEX#7A1C84
RGBrgb(122, 28, 132)
HSLhsl(294, 65%, 31%)
HSVhsv(294, 79%, 52%)
CMYKcmyk(7.6%, 78.8%, 0%, 48.2%)
CIE-LABlab(30.96, 52.57, -37.17)
CIE-LCHlch(30.96, 64.38, 324.73°)
OKLaboklab(42.8% 0.1412 -0.1038)
OKLCHoklch(42.8% 0.175 323.7)
XYZxyz(12.6058, 6.6348, 22.4420)
Luminance0.0663 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1C84 #26841C
analogous
#461C84 #7A1C84 #841C5A
triadic
#7A1C84 #847A1C #1C847A
tetradic
#7A1C84 #84461C #26841C #1C5A84
square
#7A1C84 #84461C #26841C #1C5A84
split-complementary
#7A1C84 #5A841C #1C8446
monochromatic
#1D071F #4B1152 #7A1C84 #A927B6 #C943D7

Accessibility & contrast

On white

9.03
#7A1C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1C84
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1C84#FFFFFF#000000##FFFFFF
##7A1C841.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a1c84;
/* rgb */ color: rgb(122, 28, 132);
/* oklch */ color: oklch(42.8% 0.175 323.7);
Tailwind
colors: {
  custom: {
    50: '#a464a8',
    500: '#7a1c84',
    950: '#000000',
  },
}
SCSS
$custom: #7a1c84;
$custom-light: #a464a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1c84",
  "rgb": {
    "r": 122,
    "g": 28,
    "b": 132
  },
  "hsl": {
    "h": 294.231,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42797,
    "c": 0.17528,
    "h": 323.7
  },
  "luminance": 0.06634
}

Semantic roles & 50–950 ramp

primary
#7A1C84
secondary
#50B745
accent
#E84050
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A1C84

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

Preview Lab → · Contrast checker → · Palette generator →

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