#7F0F73#7F0F73

#7F0F73 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.176 H 333.5°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#7F0F73
RGBrgb(127, 15, 115)
HSLhsl(306, 79%, 28%)
HSVhsv(306, 88%, 50%)
CMYKcmyk(0%, 88.2%, 9.4%, 50.2%)
CIE-LABlab(29.64, 54.21, -28.49)
CIE-LCHlch(29.64, 61.24, 332.28°)
OKLaboklab(41.7% 0.1572 -0.0783)
OKLCHoklch(41.7% 0.176 333.5)
XYZxyz(12.0178, 6.0926, 16.7594)
Luminance0.0609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F0F73 #0F7F1B
analogous
#530F7F #7F0F73 #7F0F3B
triadic
#7F0F73 #737F0F #0F737F
tetradic
#7F0F73 #7F530F #0F7F1B #0F3B7F
square
#7F0F73 #7F530F #0F7F1B #0F3B7F
split-complementary
#7F0F73 #3B7F0F #0F7F53
monochromatic
#1B0319 #480941 #7F0F73 #B615A5 #E523D0

Accessibility & contrast

On white

9.47
#7F0F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7F0F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F0F73
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F0F73#FFFFFF#000000##FFFFFF
##7F0F731.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073C75
Deuteranopia (green-blind)
#3A4B71
Tritanopia (blue-blind)
#851E43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f0f73;
/* rgb */ color: rgb(127, 15, 115);
/* oklch */ color: oklch(41.7% 0.176 333.5);
Tailwind
colors: {
  custom: {
    50: '#a8609b',
    500: '#7f0f73',
    950: '#000000',
  },
}
SCSS
$custom: #7f0f73;
$custom-light: #a8609b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f0f73",
  "rgb": {
    "r": 127,
    "g": 15,
    "b": 115
  },
  "hsl": {
    "h": 306.429,
    "s": 78.873,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41701,
    "c": 0.1756,
    "h": 333.5
  },
  "luminance": 0.06091
}

Semantic roles & 50–950 ramp

primary
#7F0F73
secondary
#34B542
accent
#F54732
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7F0F73

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

Preview Lab → · Contrast checker → · Palette generator →

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