#7C2288#7C2288

#7C2288 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.9% C 0.173 H 322.7°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#7C2288
RGBrgb(124, 34, 136)
HSLhsl(293, 60%, 33%)
HSVhsv(293, 75%, 53%)
CMYKcmyk(8.8%, 75%, 0%, 46.7%)
CIE-LABlab(32.27, 51.68, -37.54)
CIE-LCHlch(32.27, 63.88, 324.00°)
OKLaboklab(43.88% 0.1377 -0.1048)
OKLCHoklch(43.88% 0.173 322.7)
XYZxyz(13.3277, 7.2075, 23.9770)
Luminance0.0721 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2288 #2E8822
analogous
#492288 #7C2288 #882261
triadic
#7C2288 #887C22 #22887C
tetradic
#7C2288 #884922 #2E8822 #226188
square
#7C2288 #884922 #2E8822 #226188
split-complementary
#7C2288 #618822 #228849
monochromatic
#230A26 #4F1657 #7C2288 #A92EB9 #C451D3

Accessibility & contrast

On white

8.60
#7C2288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7C2288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2288
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2288#FFFFFF#000000##FFFFFF
##7C22881.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458B
Deuteranopia (green-blind)
#324F86
Tritanopia (blue-blind)
#7E3553
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7c2288;
/* rgb */ color: rgb(124, 34, 136);
/* oklch */ color: oklch(43.9% 0.173 322.7);
Tailwind
colors: {
  custom: {
    50: '#a567ab',
    500: '#7c2288',
    950: '#000000',
  },
}
SCSS
$custom: #7c2288;
$custom-light: #a567ab;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2288",
  "rgb": {
    "r": 124,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 292.941,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4388,
    "c": 0.17311,
    "h": 322.7
  },
  "luminance": 0.07207
}

Semantic roles & 50–950 ramp

primary
#7C2288
secondary
#5BB74F
accent
#E34557
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C2288

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

Preview Lab → · Contrast checker → · Palette generator →

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