#7F1C75#7F1C75

#7F1C75 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.166 H 332.6°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#7F1C75
RGBrgb(127, 28, 117)
HSLhsl(306, 64%, 30%)
HSVhsv(306, 78%, 50%)
CMYKcmyk(0%, 78%, 7.9%, 50.2%)
CIE-LABlab(30.94, 51.10, -27.71)
CIE-LCHlch(30.94, 58.12, 331.53°)
OKLaboklab(42.67% 0.1472 -0.0761)
OKLCHoklch(42.67% 0.166 332.6)
XYZxyz(12.3786, 6.6279, 17.4535)
Luminance0.0663 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1C75 #1C7F26
analogous
#581C7F #7F1C75 #7F1C43
triadic
#7F1C75 #757F1C #1C757F
tetradic
#7F1C75 #7F581C #1C7F26 #1C437F
square
#7F1C75 #7F581C #1C7F26 #1C437F
split-complementary
#7F1C75 #437F1C #1C7F58
monochromatic
#1B0619 #4D1147 #7F1C75 #B127A3 #D540C6

Accessibility & contrast

On white

9.03
#7F1C75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7F1C75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1C75
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1C75#FFFFFF#000000##FFFFFF
##7F1C751.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164077
Deuteranopia (green-blind)
#3D4E73
Tritanopia (blue-blind)
#852747
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f1c75;
/* rgb */ color: rgb(127, 28, 117);
/* oklch */ color: oklch(42.7% 0.166 332.6);
Tailwind
colors: {
  custom: {
    50: '#a7649d',
    500: '#7f1c75',
    950: '#000000',
  },
}
SCSS
$custom: #7f1c75;
$custom-light: #a7649d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1c75",
  "rgb": {
    "r": 127,
    "g": 28,
    "b": 117
  },
  "hsl": {
    "h": 306.061,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42665,
    "c": 0.1657,
    "h": 332.6
  },
  "luminance": 0.06627
}

Semantic roles & 50–950 ramp

primary
#7F1C75
secondary
#44B34F
accent
#E75241
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7F1C75

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

Preview Lab → · Contrast checker → · Palette generator →

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