#79187F#79187F

#79187F is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.175 H 325.5°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#79187F
RGBrgb(121, 24, 127)
HSLhsl(297, 68%, 30%)
HSVhsv(297, 81%, 50%)
CMYKcmyk(4.7%, 81.1%, 0%, 50.2%)
CIE-LABlab(30.04, 52.69, -35.53)
CIE-LCHlch(30.04, 63.55, 326.01°)
OKLaboklab(42.01% 0.1438 -0.099)
OKLCHoklch(42.01% 0.175 325.5)
XYZxyz(12.0423, 6.2513, 20.6469)
Luminance0.0625 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79187F #1E7F18
analogous
#46187F #79187F #7F1852
triadic
#79187F #7F7918 #187F79
tetradic
#79187F #7F4618 #1E7F18 #18527F
square
#79187F #7F4618 #1E7F18 #18527F
split-complementary
#79187F #527F18 #187F46
monochromatic
#19051A #480E4C #79187F #AA22B2 #D038D9

Accessibility & contrast

On white

9.33
#79187F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#79187F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79187F
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79187F#FFFFFF#000000##FFFFFF
##79187F1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#304B7D
Tritanopia (blue-blind)
#7C2C4C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #79187f;
/* rgb */ color: rgb(121, 24, 127);
/* oklch */ color: oklch(42.0% 0.175 325.5);
Tailwind
colors: {
  custom: {
    50: '#a362a5',
    500: '#79187f',
    950: '#000000',
  },
}
SCSS
$custom: #79187f;
$custom-light: #a362a5;
$custom-dark: #000000;
JSON
{
  "hex": "#79187f",
  "rgb": {
    "r": 121,
    "g": 24,
    "b": 127
  },
  "hsl": {
    "h": 296.505,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.42006,
    "c": 0.1746,
    "h": 325.5
  },
  "luminance": 0.06251
}

Semantic roles & 50–950 ramp

primary
#79187F
secondary
#46B33F
accent
#EB3D47
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #79187F

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

Preview Lab → · Contrast checker → · Palette generator →

#79187F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva