#7F1575#7F1575

#7F1575 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.2% C 0.172 H 332.6°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#7F1575
RGBrgb(127, 21, 117)
HSLhsl(306, 72%, 29%)
HSVhsv(306, 83%, 50%)
CMYKcmyk(0%, 83.5%, 7.9%, 50.2%)
CIE-LABlab(30.24, 53.13, -28.82)
CIE-LCHlch(30.24, 60.44, 331.52°)
OKLaboklab(42.16% 0.1531 -0.0793)
OKLCHoklch(42.16% 0.172 332.6)
XYZxyz(12.2315, 6.3338, 17.4045)
Luminance0.0633 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1575 #157F1F
analogous
#54157F #7F1575 #7F1540
triadic
#7F1575 #757F15 #15757F
tetradic
#7F1575 #7F5415 #157F1F #15407F
square
#7F1575 #7F5415 #157F1F #15407F
split-complementary
#7F1575 #407F15 #157F54
monochromatic
#1A0418 #4A0C45 #7F1575 #B41EA5 #DD31CD

Accessibility & contrast

On white

9.26
#7F1575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7F1575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1575
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1575#FFFFFF#000000##FFFFFF
##7F15751.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3E77
Deuteranopia (green-blind)
#3B4C73
Tritanopia (blue-blind)
#852345
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f1575;
/* rgb */ color: rgb(127, 21, 117);
/* oklch */ color: oklch(42.2% 0.172 332.6);
Tailwind
colors: {
  custom: {
    50: '#a8629d',
    500: '#7f1575',
    950: '#000000',
  },
}
SCSS
$custom: #7f1575;
$custom-light: #a8629d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1575",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 117
  },
  "hsl": {
    "h": 305.66,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.42161,
    "c": 0.17242,
    "h": 332.6
  },
  "luminance": 0.06333
}

Semantic roles & 50–950 ramp

primary
#7F1575
secondary
#3CB447
accent
#EE4B39
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7F1575

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

Preview Lab → · Contrast checker → · Palette generator →

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