#7F1C93#7F1C93

#7F1C93 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.6% C 0.190 H 320.0°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#7F1C93
RGBrgb(127, 28, 147)
HSLhsl(290, 68%, 34%)
HSVhsv(290, 81%, 58%)
CMYKcmyk(13.6%, 81%, 0%, 42.4%)
CIE-LABlab(32.81, 56.37, -43.44)
CIE-LCHlch(32.81, 71.17, 322.38°)
OKLaboklab(44.59% 0.1456 -0.122)
OKLCHoklch(44.59% 0.19 320)
XYZxyz(14.4335, 7.4499, 28.2758)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1C93 #30931C
analogous
#441C93 #7F1C93 #931C6C
triadic
#7F1C93 #937F1C #1C937F
tetradic
#7F1C93 #93441C #30931C #1C6C93
square
#7F1C93 #93441C #30931C #1C6C93
split-complementary
#7F1C93 #6C931C #1C9344
monochromatic
#26082C #531260 #7F1C93 #AB26C6 #C54CDD

Accessibility & contrast

On white

8.43
#7F1C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7F1C93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1C93
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1C93#FFFFFF#000000##FFFFFF
##7F1C931.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004796
Deuteranopia (green-blind)
#285090
Tritanopia (blue-blind)
#7F3658
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7f1c93;
/* rgb */ color: rgb(127, 28, 147);
/* oklch */ color: oklch(44.6% 0.190 320.0);
Tailwind
colors: {
  custom: {
    50: '#a866b3',
    500: '#7f1c93',
    950: '#000000',
  },
}
SCSS
$custom: #7f1c93;
$custom-light: #a866b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1c93",
  "rgb": {
    "r": 127,
    "g": 28,
    "b": 147
  },
  "hsl": {
    "h": 289.916,
    "s": 68,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4459,
    "c": 0.18995,
    "h": 320
  },
  "luminance": 0.07449
}

Semantic roles & 50–950 ramp

primary
#7F1C93
secondary
#5FBF4C
accent
#EB3D5A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7F1C93

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

Preview Lab → · Contrast checker → · Palette generator →

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