#7A1A75#7A1A75

#7A1A75 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.7% C 0.165 H 330.4°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#7A1A75
RGBrgb(122, 26, 117)
HSLhsl(303, 65%, 29%)
HSVhsv(303, 79%, 48%)
CMYKcmyk(0%, 78.7%, 4.1%, 52.2%)
CIE-LABlab(29.82, 50.57, -29.55)
CIE-LCHlch(29.82, 58.57, 329.70°)
OKLaboklab(41.69% 0.1436 -0.0816)
OKLCHoklch(41.69% 0.165 330.4)
XYZxyz(11.6063, 6.1616, 17.4042)
Luminance0.0616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1A75 #1A7A1F
analogous
#4F1A7A #7A1A75 #7A1A45
triadic
#7A1A75 #757A1A #1A757A
tetradic
#7A1A75 #7A4F1A #1A7A1F #1A457A
square
#7A1A75 #7A4F1A #1A7A1F #1A457A
split-complementary
#7A1A75 #457A1A #1A7A4F
monochromatic
#190518 #480F45 #7A1A75 #AC25A5 #D539CD

Accessibility & contrast

On white

9.41
#7A1A75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7A1A75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1A75
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1A75#FFFFFF#000000##FFFFFF
##7A1A751.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3E77
Deuteranopia (green-blind)
#384B73
Tritanopia (blue-blind)
#7F2746
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a1a75;
/* rgb */ color: rgb(122, 26, 117);
/* oklch */ color: oklch(41.7% 0.165 330.4);
Tailwind
colors: {
  custom: {
    50: '#a4639d',
    500: '#7a1a75',
    950: '#000000',
  },
}
SCSS
$custom: #7a1a75;
$custom-light: #a4639d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1a75",
  "rgb": {
    "r": 122,
    "g": 26,
    "b": 117
  },
  "hsl": {
    "h": 303.125,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41686,
    "c": 0.16513,
    "h": 330.4
  },
  "luminance": 0.06161
}

Semantic roles & 50–950 ramp

primary
#7A1A75
secondary
#41AE47
accent
#E84940
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7A1A75

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

Preview Lab → · Contrast checker → · Palette generator →

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