#7F1374#7F1374

#7F1374 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.0% C 0.173 H 333.1°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#7F1374
RGBrgb(127, 19, 116)
HSLhsl(306, 74%, 29%)
HSVhsv(306, 85%, 50%)
CMYKcmyk(0%, 85%, 8.7%, 50.2%)
CIE-LABlab(30.01, 53.47, -28.55)
CIE-LCHlch(30.01, 60.61, 331.90°)
OKLaboklab(41.98% 0.1546 -0.0785)
OKLCHoklch(41.98% 0.173 333.1)
XYZxyz(12.1377, 6.2398, 17.0848)
Luminance0.0624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1374 #137F1E
analogous
#54137F #7F1374 #7F133E
triadic
#7F1374 #747F13 #13747F
tetradic
#7F1374 #7F5413 #137F1E #133E7F
square
#7F1374 #7F5413 #137F1E #133E7F
split-complementary
#7F1374 #3E7F13 #137F54
monochromatic
#1B0418 #4A0B43 #7F1374 #B41BA5 #E02DCD

Accessibility & contrast

On white

9.34
#7F1374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1374
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1374#FFFFFF#000000##FFFFFF
##7F13741.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3D76
Deuteranopia (green-blind)
#3B4C72
Tritanopia (blue-blind)
#852144
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f1374;
/* rgb */ color: rgb(127, 19, 116);
/* oklch */ color: oklch(42.0% 0.173 333.1);
Tailwind
colors: {
  custom: {
    50: '#a8619c',
    500: '#7f1374',
    950: '#000000',
  },
}
SCSS
$custom: #7f1374;
$custom-light: #a8619c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1374",
  "rgb": {
    "r": 127,
    "g": 19,
    "b": 116
  },
  "hsl": {
    "h": 306.111,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41979,
    "c": 0.17335,
    "h": 333.1
  },
  "luminance": 0.06239
}

Semantic roles & 50–950 ramp

primary
#7F1374
secondary
#39B446
accent
#F14A37
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7F1374

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

Preview Lab → · Contrast checker → · Palette generator →

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