#7A247A#7A247A

#7A247A is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.9% C 0.158 H 327.9°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#7A247A
RGBrgb(122, 36, 122)
HSLhsl(300, 54%, 31%)
HSVhsv(300, 70%, 48%)
CMYKcmyk(0%, 70.5%, 0%, 52.2%)
CIE-LABlab(31.36, 47.87, -30.27)
CIE-LCHlch(31.36, 56.64, 327.70°)
OKLaboklab(42.89% 0.1335 -0.0837)
OKLCHoklch(42.89% 0.158 327.9)
XYZxyz(12.1696, 6.8053, 19.0812)
Luminance0.0680 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A247A #247A24
analogous
#4F247A #7A247A #7A244F
triadic
#7A247A #7A7A24 #247A7A
tetradic
#7A247A #7A4F24 #247A24 #244F7A
square
#7A247A #7A4F24 #247A24 #244F7A
split-complementary
#7A247A #4F7A24 #247A4F
monochromatic
#1B081B #4B164B #7A247A #A932A9 #CB4ECB

Accessibility & contrast

On white

8.90
#7A247A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7A247A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A247A
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A247A#FFFFFF#000000##FFFFFF
##7A247A1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17437C
Deuteranopia (green-blind)
#3A4E78
Tritanopia (blue-blind)
#7E304C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7a247a;
/* rgb */ color: rgb(122, 36, 122);
/* oklch */ color: oklch(42.9% 0.158 327.9);
Tailwind
colors: {
  custom: {
    50: '#a367a1',
    500: '#7a247a',
    950: '#000000',
  },
}
SCSS
$custom: #7a247a;
$custom-light: #a367a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a247a",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 300,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42886,
    "c": 0.15757,
    "h": 327.9
  },
  "luminance": 0.06804
}

Semantic roles & 50–950 ramp

primary
#7A247A
secondary
#4DAC4D
accent
#DE4A4A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #7A247A

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

Preview Lab → · Contrast checker → · Palette generator →

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