#7F1380#7F1380

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

Color values

HEX#7F1380
RGBrgb(127, 19, 128)
HSLhsl(299, 74%, 29%)
HSVhsv(299, 85%, 50%)
CMYKcmyk(0.8%, 85.2%, 0%, 49.8%)
CIE-LABlab(30.73, 55.41, -34.99)
CIE-LCHlch(30.73, 65.53, 327.73°)
OKLaboklab(42.72% 0.1542 -0.0972)
OKLCHoklch(42.72% 0.182 327.8)
XYZxyz(12.8814, 6.5373, 21.0013)
Luminance0.0654 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1380 #148013
analogous
#491380 #7F1380 #80134B
triadic
#7F1380 #807F13 #13807F
tetradic
#7F1380 #804913 #148013 #134B80
square
#7F1380 #804913 #148013 #134B80
split-complementary
#7F1380 #4B8013 #138049
monochromatic
#1A041B #4A0B4B #7F1380 #B41BB5 #DE2DE0

Accessibility & contrast

On white

9.10
#7F1380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1380
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1380#FFFFFF#000000##FFFFFF
##7F13801.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1380;
/* rgb */ color: rgb(127, 19, 128);
/* oklch */ color: oklch(42.7% 0.182 327.8);
Tailwind
colors: {
  custom: {
    50: '#a862a5',
    500: '#7f1380',
    950: '#000000',
  },
}
SCSS
$custom: #7f1380;
$custom-light: #a862a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1380",
  "rgb": {
    "r": 127,
    "g": 19,
    "b": 128
  },
  "hsl": {
    "h": 299.45,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.42722,
    "c": 0.1823,
    "h": 327.8
  },
  "luminance": 0.06536
}

Semantic roles & 50–950 ramp

primary
#7F1380
secondary
#3BB539
accent
#F13739
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7F1380

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

Preview Lab → · Contrast checker → · Palette generator →

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