#792074#792074

#792074 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.0% C 0.157 H 330.4°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#792074
RGBrgb(121, 32, 116)
HSLhsl(303, 58%, 30%)
HSVhsv(303, 74%, 47%)
CMYKcmyk(0%, 73.6%, 4.1%, 52.5%)
CIE-LABlab(30.30, 48.11, -28.15)
CIE-LCHlch(30.30, 55.74, 329.66°)
OKLaboklab(41.98% 0.1365 -0.0776)
OKLCHoklch(41.98% 0.157 330.4)
XYZxyz(11.5540, 6.3598, 17.1386)
Luminance0.0636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792074 #207925
analogous
#522079 #792074 #792047
triadic
#792074 #747920 #207479
tetradic
#792074 #795220 #207925 #204779
square
#792074 #795220 #207925 #204779
split-complementary
#792074 #477920 #207952
monochromatic
#180617 #491346 #792074 #A92DA2 #CE45C6

Accessibility & contrast

On white

9.24
#792074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#792074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792074
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792074#FFFFFF#000000##FFFFFF
##7920741.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174076
Deuteranopia (green-blind)
#3A4C72
Tritanopia (blue-blind)
#7E2B48
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #792074;
/* rgb */ color: rgb(121, 32, 116);
/* oklch */ color: oklch(42.0% 0.157 330.4);
Tailwind
colors: {
  custom: {
    50: '#a3659c',
    500: '#792074',
    950: '#000000',
  },
}
SCSS
$custom: #792074;
$custom-light: #a3659c;
$custom-dark: #000000;
JSON
{
  "hex": "#792074",
  "rgb": {
    "r": 121,
    "g": 32,
    "b": 116
  },
  "hsl": {
    "h": 303.371,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.41982,
    "c": 0.15703,
    "h": 330.4
  },
  "luminance": 0.06359
}

Semantic roles & 50–950 ramp

primary
#792074
secondary
#49AC4E
accent
#E14F46
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #792074

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

Preview Lab → · Contrast checker → · Palette generator →

#792074 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva