#7F1475#7F1475

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

Color values

HEX#7F1475
RGBrgb(127, 20, 117)
HSLhsl(306, 73%, 29%)
HSVhsv(306, 84%, 50%)
CMYKcmyk(0%, 84.3%, 7.9%, 50.2%)
CIE-LABlab(30.15, 53.38, -28.96)
CIE-LCHlch(30.15, 60.73, 331.52°)
OKLaboklab(42.1% 0.1538 -0.0797)
OKLCHoklch(42.1% 0.173 332.6)
XYZxyz(12.2135, 6.2978, 17.3985)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1475 #147F1E
analogous
#54147F #7F1475 #7F1440
triadic
#7F1475 #757F14 #14757F
tetradic
#7F1475 #7F5414 #147F1E #14407F
square
#7F1475 #7F5414 #147F1E #14407F
split-complementary
#7F1475 #407F14 #147F54
monochromatic
#1A0418 #4A0C44 #7F1475 #B41CA6 #DE2FCE

Accessibility & contrast

On white

9.29
#7F1475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7F1475 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1475
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1475#FFFFFF#000000##FFFFFF
##7F14751.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1475;
/* rgb */ color: rgb(127, 20, 117);
/* oklch */ color: oklch(42.1% 0.173 332.6);
Tailwind
colors: {
  custom: {
    50: '#a8619d',
    500: '#7f1475',
    950: '#000000',
  },
}
SCSS
$custom: #7f1475;
$custom-light: #a8619d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1475",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 117
  },
  "hsl": {
    "h": 305.607,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.42099,
    "c": 0.17326,
    "h": 332.6
  },
  "luminance": 0.06297
}

Semantic roles & 50–950 ramp

primary
#7F1475
secondary
#3BB446
accent
#EF4938
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7F1475

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

Preview Lab → · Contrast checker → · Palette generator →

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