#7F1F85#7F1F85

#7F1F85 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.9% C 0.175 H 325.4°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#7F1F85
RGBrgb(127, 31, 133)
HSLhsl(296, 62%, 32%)
HSVhsv(296, 77%, 52%)
CMYKcmyk(4.5%, 76.7%, 0%, 47.8%)
CIE-LABlab(32.23, 52.84, -35.72)
CIE-LCHlch(32.23, 63.79, 325.94°)
OKLaboklab(43.89% 0.1443 -0.0994)
OKLCHoklch(43.89% 0.175 325.4)
XYZxyz(13.4757, 7.1863, 22.8631)
Luminance0.0718 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1F85 #25851F
analogous
#4C1F85 #7F1F85 #851F58
triadic
#7F1F85 #857F1F #1F857F
tetradic
#7F1F85 #854C1F #25851F #1F5885
square
#7F1F85 #854C1F #25851F #1F5885
split-complementary
#7F1F85 #58851F #1F854C
monochromatic
#200822 #501353 #7F1F85 #AE2BB7 #CD4AD5

Accessibility & contrast

On white

8.62
#7F1F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7F1F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1F85
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1F85#FFFFFF#000000##FFFFFF
##7F1F851.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004488
Deuteranopia (green-blind)
#365083
Tritanopia (blue-blind)
#823151
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f1f85;
/* rgb */ color: rgb(127, 31, 133);
/* oklch */ color: oklch(43.9% 0.175 325.4);
Tailwind
colors: {
  custom: {
    50: '#a866a9',
    500: '#7f1f85',
    950: '#000000',
  },
}
SCSS
$custom: #7f1f85;
$custom-light: #a866a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1f85",
  "rgb": {
    "r": 127,
    "g": 31,
    "b": 133
  },
  "hsl": {
    "h": 296.471,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43885,
    "c": 0.17527,
    "h": 325.4
  },
  "luminance": 0.07185
}

Semantic roles & 50–950 ramp

primary
#7F1F85
secondary
#4FB749
accent
#E5434C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7F1F85

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

Preview Lab → · Contrast checker → · Palette generator →

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