#7C2280#7C2280

#7C2280 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.4% C 0.166 H 326.1°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#7C2280
RGBrgb(124, 34, 128)
HSLhsl(297, 58%, 32%)
HSVhsv(297, 73%, 50%)
CMYKcmyk(3.1%, 73.4%, 0%, 49.8%)
CIE-LABlab(31.78, 50.20, -33.34)
CIE-LCHlch(31.78, 60.27, 326.41°)
OKLaboklab(43.37% 0.138 -0.0926)
OKLCHoklch(43.37% 0.166 326.1)
XYZxyz(12.7802, 6.9885, 21.0937)
Luminance0.0699 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2280 #268022
analogous
#4D2280 #7C2280 #802255
triadic
#7C2280 #807C22 #22807C
tetradic
#7C2280 #804D22 #268022 #225580
square
#7C2280 #804D22 #268022 #225580
split-complementary
#7C2280 #558022 #22804D
monochromatic
#1E081F #4D1550 #7C2280 #AB2FB0 #CA4DD0

Accessibility & contrast

On white

8.76
#7C2280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7C2280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2280
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2280#FFFFFF#000000##FFFFFF
##7C22801.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4483
Deuteranopia (green-blind)
#374F7E
Tritanopia (blue-blind)
#7F314F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7c2280;
/* rgb */ color: rgb(124, 34, 128);
/* oklch */ color: oklch(43.4% 0.166 326.1);
Tailwind
colors: {
  custom: {
    50: '#a567a5',
    500: '#7c2280',
    950: '#000000',
  },
}
SCSS
$custom: #7c2280;
$custom-light: #a567a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2280",
  "rgb": {
    "r": 124,
    "g": 34,
    "b": 128
  },
  "hsl": {
    "h": 297.447,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43369,
    "c": 0.16622,
    "h": 326.1
  },
  "luminance": 0.06988
}

Semantic roles & 50–950 ramp

primary
#7C2280
secondary
#50B24B
accent
#E1474D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7C2280

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

Preview Lab → · Contrast checker → · Palette generator →

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