#7F1375#7F1375

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

Color values

HEX#7F1375
RGBrgb(127, 19, 117)
HSLhsl(306, 74%, 29%)
HSVhsv(306, 85%, 50%)
CMYKcmyk(0%, 85%, 7.9%, 50.2%)
CIE-LABlab(30.07, 53.63, -29.09)
CIE-LCHlch(30.07, 61.01, 331.52°)
OKLaboklab(42.04% 0.1546 -0.0801)
OKLCHoklch(42.04% 0.174 332.6)
XYZxyz(12.1962, 6.2632, 17.3928)
Luminance0.0626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1375 #137F1D
analogous
#53137F #7F1375 #7F133F
triadic
#7F1375 #757F13 #13757F
tetradic
#7F1375 #7F5313 #137F1D #133F7F
square
#7F1375 #7F5313 #137F1D #133F7F
split-complementary
#7F1375 #3F7F13 #137F53
monochromatic
#1B0419 #4A0B44 #7F1375 #B41BA6 #E02DCF

Accessibility & contrast

On white

9.32
#7F1375 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7F1375 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1375
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1375#FFFFFF#000000##FFFFFF
##7F13751.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093D77
Deuteranopia (green-blind)
#3A4C73
Tritanopia (blue-blind)
#852245
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f1375;
/* rgb */ color: rgb(127, 19, 117);
/* oklch */ color: oklch(42.0% 0.174 332.6);
Tailwind
colors: {
  custom: {
    50: '#a8619d',
    500: '#7f1375',
    950: '#000000',
  },
}
SCSS
$custom: #7f1375;
$custom-light: #a8619d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1375",
  "rgb": {
    "r": 127,
    "g": 19,
    "b": 117
  },
  "hsl": {
    "h": 305.556,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.42038,
    "c": 0.17408,
    "h": 332.6
  },
  "luminance": 0.06262
}

Semantic roles & 50–950 ramp

primary
#7F1375
secondary
#39B445
accent
#F14837
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7F1375

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

Preview Lab → · Contrast checker → · Palette generator →

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