#7D2273#7D2273

#7D2273 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.156 H 332.8°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#7D2273
RGBrgb(125, 34, 115)
HSLhsl(307, 57%, 31%)
HSVhsv(307, 73%, 49%)
CMYKcmyk(0%, 72.8%, 8%, 51%)
CIE-LABlab(31.21, 48.18, -26.04)
CIE-LCHlch(31.21, 54.77, 331.62°)
OKLaboklab(42.76% 0.1388 -0.0714)
OKLCHoklch(42.76% 0.156 332.8)
XYZxyz(12.1240, 6.7428, 16.8793)
Luminance0.0674 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2273 #227D2C
analogous
#59227D #7D2273 #7D2245
triadic
#7D2273 #737D22 #22737D
tetradic
#7D2273 #7D5922 #227D2C #22457D
square
#7D2273 #7D5922 #227D2C #22457D
split-complementary
#7D2273 #457D22 #227D59
monochromatic
#1D081A #4D1547 #7D2273 #AD2F9F #CE4BC0

Accessibility & contrast

On white

8.94
#7D2273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7D2273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2273
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2273#FFFFFF#000000##FFFFFF
##7D22731.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4175
Deuteranopia (green-blind)
#3F4E71
Tritanopia (blue-blind)
#832B48
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d2273;
/* rgb */ color: rgb(125, 34, 115);
/* oklch */ color: oklch(42.8% 0.156 332.8);
Tailwind
colors: {
  custom: {
    50: '#a6669b',
    500: '#7d2273',
    950: '#000000',
  },
}
SCSS
$custom: #7d2273;
$custom-light: #a6669b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2273",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 306.593,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42756,
    "c": 0.15605,
    "h": 332.8
  },
  "luminance": 0.06742
}

Semantic roles & 50–950 ramp

primary
#7D2273
secondary
#4BB056
accent
#E05847
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D2273

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

Preview Lab → · Contrast checker → · Palette generator →

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