#7F106D#7F106D

#7F106D is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.171 H 336.4°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#7F106D
RGBrgb(127, 16, 109)
HSLhsl(310, 78%, 28%)
HSVhsv(310, 87%, 50%)
CMYKcmyk(0%, 87.4%, 14.2%, 50.2%)
CIE-LABlab(29.38, 53.10, -25.06)
CIE-LCHlch(29.38, 58.72, 334.74°)
OKLaboklab(41.4% 0.1564 -0.0684)
OKLCHoklch(41.4% 0.171 336.4)
XYZxyz(11.6982, 5.9879, 15.0047)
Luminance0.0599 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F106D #107F22
analogous
#59107F #7F106D #7F1035
triadic
#7F106D #6D7F10 #106D7F
tetradic
#7F106D #7F5910 #107F22 #10357F
square
#7F106D #7F5910 #107F22 #10357F
split-complementary
#7F106D #357F10 #107F59
monochromatic
#1B0317 #49093E #7F106D #B5179C #E426C5

Accessibility & contrast

On white

9.56
#7F106D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7F106D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F106D
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F106D#FFFFFF#000000##FFFFFF
##7F106D1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133B6F
Deuteranopia (green-blind)
#3E4B6B
Tritanopia (blue-blind)
#861B40
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f106d;
/* rgb */ color: rgb(127, 16, 109);
/* oklch */ color: oklch(41.4% 0.171 336.4);
Tailwind
colors: {
  custom: {
    50: '#a86097',
    500: '#7f106d',
    950: '#000000',
  },
}
SCSS
$custom: #7f106d;
$custom-light: #a86097;
$custom-dark: #000000;
JSON
{
  "hex": "#7f106d",
  "rgb": {
    "r": 127,
    "g": 16,
    "b": 109
  },
  "hsl": {
    "h": 309.73,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41405,
    "c": 0.17069,
    "h": 336.4
  },
  "luminance": 0.05987
}

Semantic roles & 50–950 ramp

primary
#7F106D
secondary
#36B54A
accent
#F45334
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7F106D

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

Preview Lab → · Contrast checker → · Palette generator →

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