#7F1480#7F1480

#7F1480 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.8% C 0.182 H 327.8°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#7F1480
RGBrgb(127, 20, 128)
HSLhsl(299, 73%, 29%)
HSVhsv(299, 84%, 50%)
CMYKcmyk(0.8%, 84.4%, 0%, 49.8%)
CIE-LABlab(30.81, 55.17, -34.86)
CIE-LCHlch(30.81, 65.26, 327.72°)
OKLaboklab(42.78% 0.1535 -0.0968)
OKLCHoklch(42.78% 0.182 327.8)
XYZxyz(12.8987, 6.5718, 21.0070)
Luminance0.0657 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1480 #158014
analogous
#491480 #7F1480 #80144B
triadic
#7F1480 #807F14 #14807F
tetradic
#7F1480 #804914 #158014 #144B80
square
#7F1480 #804914 #158014 #144B80
split-complementary
#7F1480 #4B8014 #148049
monochromatic
#1A041A #4A0C4B #7F1480 #B41CB5 #DD30DF

Accessibility & contrast

On white

9.07
#7F1480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7F1480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1480
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1480#FFFFFF#000000##FFFFFF
##7F14801.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004083
Deuteranopia (green-blind)
#344D7E
Tritanopia (blue-blind)
#83294C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f1480;
/* rgb */ color: rgb(127, 20, 128);
/* oklch */ color: oklch(42.8% 0.182 327.8);
Tailwind
colors: {
  custom: {
    50: '#a862a5',
    500: '#7f1480',
    950: '#000000',
  },
}
SCSS
$custom: #7f1480;
$custom-light: #a862a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1480",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 128
  },
  "hsl": {
    "h": 299.444,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4278,
    "c": 0.18153,
    "h": 327.8
  },
  "luminance": 0.06571
}

Semantic roles & 50–950 ramp

primary
#7F1480
secondary
#3CB53B
accent
#F0383A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7F1480

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

Preview Lab → · Contrast checker → · Palette generator →

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