#7C2292#7C2292

#7C2292 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.182 H 318.8°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#7C2292
RGBrgb(124, 34, 146)
HSLhsl(288, 62%, 35%)
HSVhsv(288, 77%, 57%)
CMYKcmyk(15.1%, 76.7%, 0%, 42.7%)
CIE-LABlab(32.93, 53.60, -42.66)
CIE-LCHlch(32.93, 68.51, 321.48°)
OKLaboklab(44.56% 0.1369 -0.1198)
OKLCHoklch(44.56% 0.182 318.8)
XYZxyz(14.0718, 7.5051, 27.8960)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2292 #389222
analogous
#442292 #7C2292 #922270
triadic
#7C2292 #927C22 #22927C
tetradic
#7C2292 #924422 #389222 #227092
square
#7C2292 #924422 #389222 #227092
split-complementary
#7C2292 #709222 #229244
monochromatic
#280B2F #521660 #7C2292 #A62EC4 #BE57D8

Accessibility & contrast

On white

8.40
#7C2292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7C2292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2292
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2292#FFFFFF#000000##FFFFFF
##7C22921.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)
#004895
Deuteranopia (green-blind)
#295090
Tritanopia (blue-blind)
#7C3959
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7c2292;
/* rgb */ color: rgb(124, 34, 146);
/* oklch */ color: oklch(44.6% 0.182 318.8);
Tailwind
colors: {
  custom: {
    50: '#a667b3',
    500: '#7c2292',
    950: '#000000',
  },
}
SCSS
$custom: #7c2292;
$custom-light: #a667b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2292",
  "rgb": {
    "r": 124,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 288.214,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44556,
    "c": 0.18191,
    "h": 318.8
  },
  "luminance": 0.07504
}

Semantic roles & 50–950 ramp

primary
#7C2292
secondary
#68BC54
accent
#E54362
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7C2292

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

Preview Lab → · Contrast checker → · Palette generator →

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