#7D2270#7D2270

#7D2270 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.6% C 0.154 H 334.3°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#7D2270
RGBrgb(125, 34, 112)
HSLhsl(309, 57%, 31%)
HSVhsv(309, 73%, 49%)
CMYKcmyk(0%, 72.8%, 10.4%, 51%)
CIE-LABlab(31.06, 47.69, -24.38)
CIE-LCHlch(31.06, 53.56, 332.93°)
OKLaboklab(42.59% 0.1385 -0.0667)
OKLCHoklch(42.59% 0.154 334.3)
XYZxyz(11.9542, 6.6749, 15.9849)
Luminance0.0667 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2270 #227D2F
analogous
#5C227D #7D2270 #7D2242
triadic
#7D2270 #707D22 #22707D
tetradic
#7D2270 #7D5C22 #227D2F #22427D
square
#7D2270 #7D5C22 #227D2F #22427D
split-complementary
#7D2270 #427D22 #227D5C
monochromatic
#1D081A #4D1545 #7D2270 #AD2F9B #CE4BBB

Accessibility & contrast

On white

8.99
#7D2270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7D2270 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2270
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2270#FFFFFF#000000##FFFFFF
##7D22701.008.992.338.99
#FFFFFF8.991.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214172
Deuteranopia (green-blind)
#414E6E
Tritanopia (blue-blind)
#832A46
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d2270;
/* rgb */ color: rgb(125, 34, 112);
/* oklch */ color: oklch(42.6% 0.154 334.3);
Tailwind
colors: {
  custom: {
    50: '#a66699',
    500: '#7d2270',
    950: '#000000',
  },
}
SCSS
$custom: #7d2270;
$custom-light: #a66699;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2270",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 112
  },
  "hsl": {
    "h": 308.571,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42589,
    "c": 0.1537,
    "h": 334.3
  },
  "luminance": 0.06674
}

Semantic roles & 50–950 ramp

primary
#7D2270
secondary
#4BB05A
accent
#E05D47
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D2270

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

Preview Lab → · Contrast checker → · Palette generator →

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