#8A1A78#8A1A78

#8A1A78 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.5% C 0.176 H 335.8°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#8A1A78
RGBrgb(138, 26, 120)
HSLhsl(310, 68%, 32%)
HSVhsv(310, 81%, 54%)
CMYKcmyk(0%, 81.2%, 13%, 45.9%)
CIE-LABlab(32.92, 54.71, -26.36)
CIE-LCHlch(32.92, 60.73, 334.28°)
OKLaboklab(44.51% 0.1605 -0.072)
OKLCHoklch(44.51% 0.176 335.8)
XYZxyz(14.2410, 7.4995, 18.4632)
Luminance0.0750 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1A78 #1A8A2C
analogous
#641A8A #8A1A78 #8A1A40
triadic
#8A1A78 #788A1A #1A788A
tetradic
#8A1A78 #8A641A #1A8A2C #1A408A
square
#8A1A78 #8A641A #1A8A2C #1A408A
split-complementary
#8A1A78 #408A1A #1A8A64
monochromatic
#23071E #57104B #8A1A78 #BD24A5 #DC43C3

Accessibility & contrast

On white

8.40
#8A1A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8A1A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1A78
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1A78#FFFFFF#000000##FFFFFF
##8A1A781.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B437A
Deuteranopia (green-blind)
#455375
Tritanopia (blue-blind)
#912448
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a1a78;
/* rgb */ color: rgb(138, 26, 120);
/* oklch */ color: oklch(44.5% 0.176 335.8);
Tailwind
colors: {
  custom: {
    50: '#b0659f',
    500: '#8a1a78',
    950: '#000000',
  },
}
SCSS
$custom: #8a1a78;
$custom-light: #b0659f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1a78",
  "rgb": {
    "r": 138,
    "g": 26,
    "b": 120
  },
  "hsl": {
    "h": 309.643,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44512,
    "c": 0.17592,
    "h": 335.8
  },
  "luminance": 0.07498
}

Semantic roles & 50–950 ramp

primary
#8A1A78
secondary
#43BD57
accent
#EB593D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1A78

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

Preview Lab → · Contrast checker → · Palette generator →

#8A1A78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva