#792782#792782

#792782 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.5% C 0.160 H 323.6°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#792782
RGBrgb(121, 39, 130)
HSLhsl(294, 54%, 33%)
HSVhsv(294, 70%, 51%)
CMYKcmyk(6.9%, 70%, 0%, 49%)
CIE-LABlab(32.10, 47.90, -34.12)
CIE-LCHlch(32.10, 58.81, 324.53°)
OKLaboklab(43.54% 0.129 -0.095)
OKLCHoklch(43.54% 0.16 323.6)
XYZxyz(12.6396, 7.1284, 21.8249)
Luminance0.0713 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792782 #308227
analogous
#4B2782 #792782 #82275D
triadic
#792782 #827927 #278279
tetradic
#792782 #824B27 #308227 #275D82
square
#792782 #824B27 #308227 #275D82
split-complementary
#792782 #5D8227 #27824B
monochromatic
#210B24 #4D1953 #792782 #A535B1 #C157CD

Accessibility & contrast

On white

8.66
#792782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#792782 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792782
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792782#FFFFFF#000000##FFFFFF
##7927821.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4585
Deuteranopia (green-blind)
#364F80
Tritanopia (blue-blind)
#7B3651
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #792782;
/* rgb */ color: rgb(121, 39, 130);
/* oklch */ color: oklch(43.5% 0.160 323.6);
Tailwind
colors: {
  custom: {
    50: '#a369a7',
    500: '#792782',
    950: '#000000',
  },
}
SCSS
$custom: #792782;
$custom-light: #a369a7;
$custom-dark: #000000;
JSON
{
  "hex": "#792782",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 130
  },
  "hsl": {
    "h": 294.066,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43536,
    "c": 0.16019,
    "h": 323.6
  },
  "luminance": 0.07128
}

Semantic roles & 50–950 ramp

primary
#792782
secondary
#5DB153
accent
#DD4B59
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #792782

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

Preview Lab → · Contrast checker → · Palette generator →

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