#7C2289#7C2289

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

Color values

HEX#7C2289
RGBrgb(124, 34, 137)
HSLhsl(292, 60%, 34%)
HSVhsv(292, 75%, 54%)
CMYKcmyk(9.5%, 75.2%, 0%, 46.3%)
CIE-LABlab(32.34, 51.87, -38.06)
CIE-LCHlch(32.34, 64.34, 323.73°)
OKLaboklab(43.95% 0.1377 -0.1064)
OKLCHoklch(43.95% 0.174 322.3)
XYZxyz(13.3991, 7.2361, 24.3530)
Luminance0.0723 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2289 #2F8922
analogous
#482289 #7C2289 #892262
triadic
#7C2289 #897C22 #22897C
tetradic
#7C2289 #894822 #2F8922 #226289
square
#7C2289 #894822 #2F8922 #226289
split-complementary
#7C2289 #628922 #228948
monochromatic
#230A27 #501658 #7C2289 #A82EBA #C351D4

Accessibility & contrast

On white

8.58
#7C2289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7C2289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2289
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2289#FFFFFF#000000##FFFFFF
##7C22891.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468C
Deuteranopia (green-blind)
#314F87
Tritanopia (blue-blind)
#7E3554
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7c2289;
/* rgb */ color: rgb(124, 34, 137);
/* oklch */ color: oklch(43.9% 0.174 322.3);
Tailwind
colors: {
  custom: {
    50: '#a567ac',
    500: '#7c2289',
    950: '#000000',
  },
}
SCSS
$custom: #7c2289;
$custom-light: #a567ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2289",
  "rgb": {
    "r": 124,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 292.427,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43946,
    "c": 0.17398,
    "h": 322.3
  },
  "luminance": 0.07235
}

Semantic roles & 50–950 ramp

primary
#7C2289
secondary
#5CB84F
accent
#E34458
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C2289

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

Preview Lab → · Contrast checker → · Palette generator →

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