#7D2292#7D2292

#7D2292 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.7% C 0.182 H 319.2°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#7D2292
RGBrgb(125, 34, 146)
HSLhsl(289, 62%, 35%)
HSVhsv(289, 77%, 57%)
CMYKcmyk(14.4%, 76.7%, 0%, 42.7%)
CIE-LABlab(33.09, 53.81, -42.39)
CIE-LCHlch(33.09, 68.50, 321.77°)
OKLaboklab(44.7% 0.1381 -0.119)
OKLCHoklch(44.7% 0.182 319.2)
XYZxyz(14.2171, 7.5801, 27.9028)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2292 #379222
analogous
#452292 #7D2292 #92226F
triadic
#7D2292 #927D22 #22927D
tetradic
#7D2292 #924522 #379222 #226F92
square
#7D2292 #924522 #379222 #226F92
split-complementary
#7D2292 #6F9222 #229245
monochromatic
#280B2F #521660 #7D2292 #A72EC4 #C057D8

Accessibility & contrast

On white

8.35
#7D2292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7D2292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2292
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2292#FFFFFF#000000##FFFFFF
##7D22921.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004895
Deuteranopia (green-blind)
#2A518F
Tritanopia (blue-blind)
#7D3959
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d2292;
/* rgb */ color: rgb(125, 34, 146);
/* oklch */ color: oklch(44.7% 0.182 319.2);
Tailwind
colors: {
  custom: {
    50: '#a668b3',
    500: '#7d2292',
    950: '#000000',
  },
}
SCSS
$custom: #7d2292;
$custom-light: #a668b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2292",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 288.75,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44703,
    "c": 0.18231,
    "h": 319.2
  },
  "luminance": 0.07579
}

Semantic roles & 50–950 ramp

primary
#7D2292
secondary
#67BC54
accent
#E54361
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2292

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

Preview Lab → · Contrast checker → · Palette generator →

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