#7F0F74#7F0F74

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

Color values

HEX#7F0F74
RGBrgb(127, 15, 116)
HSLhsl(306, 79%, 28%)
HSVhsv(306, 88%, 50%)
CMYKcmyk(0%, 88.2%, 8.7%, 50.2%)
CIE-LABlab(29.70, 54.37, -29.03)
CIE-LCHlch(29.70, 61.63, 331.90°)
OKLaboklab(41.76% 0.1572 -0.0799)
OKLCHoklch(41.76% 0.176 333.1)
XYZxyz(12.0757, 6.1157, 17.0641)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F0F74 #0F7F1A
analogous
#520F7F #7F0F74 #7F0F3C
triadic
#7F0F74 #747F0F #0F747F
tetradic
#7F0F74 #7F520F #0F7F1A #0F3C7F
square
#7F0F74 #7F520F #0F7F1A #0F3C7F
split-complementary
#7F0F74 #3C7F0F #0F7F52
monochromatic
#1B0319 #480942 #7F0F74 #B615A6 #E523D2

Accessibility & contrast

On white

9.45
#7F0F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F0F74
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F0F74#FFFFFF#000000##FFFFFF
##7F0F741.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053C76
Deuteranopia (green-blind)
#3A4B72
Tritanopia (blue-blind)
#851F44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f0f74;
/* rgb */ color: rgb(127, 15, 116);
/* oklch */ color: oklch(41.8% 0.176 333.1);
Tailwind
colors: {
  custom: {
    50: '#a8609c',
    500: '#7f0f74',
    950: '#000000',
  },
}
SCSS
$custom: #7f0f74;
$custom-light: #a8609c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f0f74",
  "rgb": {
    "r": 127,
    "g": 15,
    "b": 116
  },
  "hsl": {
    "h": 305.893,
    "s": 78.873,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41761,
    "c": 0.17631,
    "h": 333.1
  },
  "luminance": 0.06115
}

Semantic roles & 50–950 ramp

primary
#7F0F74
secondary
#34B541
accent
#F54632
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7F0F74

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

Preview Lab → · Contrast checker → · Palette generator →

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