#7F1F89#7F1F89

#7F1F89 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.1% C 0.179 H 323.8°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#7F1F89
RGBrgb(127, 31, 137)
HSLhsl(294, 63%, 33%)
HSVhsv(294, 77%, 54%)
CMYKcmyk(7.3%, 77.4%, 0%, 46.3%)
CIE-LABlab(32.48, 53.57, -37.81)
CIE-LCHlch(32.48, 65.57, 324.78°)
OKLaboklab(44.14% 0.1441 -0.1055)
OKLCHoklch(44.14% 0.179 323.8)
XYZxyz(13.7573, 7.2990, 24.3463)
Luminance0.0730 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1F89 #29891F
analogous
#4A1F89 #7F1F89 #891F5E
triadic
#7F1F89 #897F1F #1F897F
tetradic
#7F1F89 #894A1F #29891F #1F5E89
square
#7F1F89 #894A1F #29891F #1F5E89
split-complementary
#7F1F89 #5E891F #1F894A
monochromatic
#220825 #511457 #7F1F89 #AD2ABB #C94CD6

Accessibility & contrast

On white

8.54
#7F1F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7F1F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1F89
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1F89#FFFFFF#000000##FFFFFF
##7F1F891.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#335087
Tritanopia (blue-blind)
#813353
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f1f89;
/* rgb */ color: rgb(127, 31, 137);
/* oklch */ color: oklch(44.1% 0.179 323.8);
Tailwind
colors: {
  custom: {
    50: '#a866ac',
    500: '#7f1f89',
    950: '#000000',
  },
}
SCSS
$custom: #7f1f89;
$custom-light: #a866ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1f89",
  "rgb": {
    "r": 127,
    "g": 31,
    "b": 137
  },
  "hsl": {
    "h": 294.34,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44144,
    "c": 0.1786,
    "h": 323.8
  },
  "luminance": 0.07298
}

Semantic roles & 50–950 ramp

primary
#7F1F89
secondary
#55B94B
accent
#E64251
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7F1F89

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

Preview Lab → · Contrast checker → · Palette generator →

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