#7F2575#7F2575

#7F2575 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.5% C 0.155 H 332.7°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#7F2575
RGBrgb(127, 37, 117)
HSLhsl(307, 55%, 32%)
HSVhsv(307, 71%, 50%)
CMYKcmyk(0%, 70.9%, 7.9%, 50.2%)
CIE-LABlab(32.08, 47.87, -25.92)
CIE-LCHlch(32.08, 54.44, 331.57°)
OKLaboklab(43.48% 0.1378 -0.0711)
OKLCHoklch(43.48% 0.155 332.7)
XYZxyz(12.6249, 7.1205, 17.5356)
Luminance0.0712 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2575 #257F2F
analogous
#5C257F #7F2575 #7F2548
triadic
#7F2575 #757F25 #25757F
tetradic
#7F2575 #7F5C25 #257F2F #25487F
square
#7F2575 #7F5C25 #257F2F #25487F
split-complementary
#7F2575 #487F25 #257F5C
monochromatic
#20091E #501749 #7F2575 #AE33A1 #CD52BF

Accessibility & contrast

On white

8.66
#7F2575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7F2575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2575
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2575#FFFFFF#000000##FFFFFF
##7F25751.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214377
Deuteranopia (green-blind)
#415073
Tritanopia (blue-blind)
#852E4A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7f2575;
/* rgb */ color: rgb(127, 37, 117);
/* oklch */ color: oklch(43.5% 0.155 332.7);
Tailwind
colors: {
  custom: {
    50: '#a7689d',
    500: '#7f2575',
    950: '#000000',
  },
}
SCSS
$custom: #7f2575;
$custom-light: #a7689d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2575",
  "rgb": {
    "r": 127,
    "g": 37,
    "b": 117
  },
  "hsl": {
    "h": 306.667,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43483,
    "c": 0.15501,
    "h": 332.7
  },
  "luminance": 0.0712
}

Semantic roles & 50–950 ramp

primary
#7F2575
secondary
#4FB15A
accent
#DE5A4A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7F2575

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

Preview Lab → · Contrast checker → · Palette generator →

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