#7F1390#7F1390

#7F1390 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.8% C 0.195 H 321.5°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#7F1390
RGBrgb(127, 19, 144)
HSLhsl(292, 77%, 32%)
HSVhsv(292, 87%, 56%)
CMYKcmyk(11.8%, 86.8%, 0%, 43.5%)
CIE-LABlab(31.79, 58.19, -43.24)
CIE-LCHlch(31.79, 72.50, 323.38°)
OKLaboklab(43.81% 0.1524 -0.1213)
OKLCHoklch(43.81% 0.195 321.5)
XYZxyz(14.0187, 6.9922, 26.9914)
Luminance0.0699 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1390 #249013
analogous
#411390 #7F1390 #901363
triadic
#7F1390 #907F13 #13907F
tetradic
#7F1390 #904113 #249013 #136390
square
#7F1390 #904113 #249013 #136390
split-complementary
#7F1390 #639013 #139041
monochromatic
#200524 #4F0C5A #7F1390 #AF1AC6 #CD39E5

Accessibility & contrast

On white

8.76
#7F1390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7F1390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1390
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1390#FFFFFF#000000##FFFFFF
##7F13901.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004493
Deuteranopia (green-blind)
#274E8D
Tritanopia (blue-blind)
#803155
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7f1390;
/* rgb */ color: rgb(127, 19, 144);
/* oklch */ color: oklch(43.8% 0.195 321.5);
Tailwind
colors: {
  custom: {
    50: '#a863b1',
    500: '#7f1390',
    950: '#000000',
  },
}
SCSS
$custom: #7f1390;
$custom-light: #a863b1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1390",
  "rgb": {
    "r": 127,
    "g": 19,
    "b": 144
  },
  "hsl": {
    "h": 291.84,
    "s": 76.687,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43806,
    "c": 0.19477,
    "h": 321.5
  },
  "luminance": 0.06991
}

Semantic roles & 50–950 ramp

primary
#7F1390
secondary
#4EC43B
accent
#F3354E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7F1390

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

Preview Lab → · Contrast checker → · Palette generator →

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