#7D2288#7D2288

#7D2288 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.0% C 0.174 H 323.2°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#7D2288
RGBrgb(125, 34, 136)
HSLhsl(294, 60%, 33%)
HSVhsv(294, 75%, 53%)
CMYKcmyk(8.1%, 75%, 0%, 46.7%)
CIE-LABlab(32.44, 51.90, -37.27)
CIE-LCHlch(32.44, 63.90, 324.32°)
OKLaboklab(44.03% 0.1389 -0.104)
OKLCHoklch(44.03% 0.174 323.2)
XYZxyz(13.4730, 7.2824, 23.9838)
Luminance0.0728 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2288 #2D8822
analogous
#4A2288 #7D2288 #882260
triadic
#7D2288 #887D22 #22887D
tetradic
#7D2288 #884A22 #2D8822 #226088
square
#7D2288 #884A22 #2D8822 #226088
split-complementary
#7D2288 #608822 #22884A
monochromatic
#230A26 #501657 #7D2288 #AA2EB9 #C551D3

Accessibility & contrast

On white

8.55
#7D2288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7D2288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2288
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2288#FFFFFF#000000##FFFFFF
##7D22881.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#335086
Tritanopia (blue-blind)
#7F3553
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d2288;
/* rgb */ color: rgb(125, 34, 136);
/* oklch */ color: oklch(44.0% 0.174 323.2);
Tailwind
colors: {
  custom: {
    50: '#a667ab',
    500: '#7d2288',
    950: '#000000',
  },
}
SCSS
$custom: #7d2288;
$custom-light: #a667ab;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2288",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 293.529,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44032,
    "c": 0.17356,
    "h": 323.2
  },
  "luminance": 0.07282
}

Semantic roles & 50–950 ramp

primary
#7D2288
secondary
#5AB74F
accent
#E34556
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D2288

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

Preview Lab → · Contrast checker → · Palette generator →

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