#792299#792299

#792299 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.187 H 314.9°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#792299
RGBrgb(121, 34, 153)
HSLhsl(284, 64%, 37%)
HSVhsv(284, 78%, 60%)
CMYKcmyk(20.9%, 77.8%, 0%, 40%)
CIE-LABlab(32.94, 54.40, -46.96)
CIE-LCHlch(32.94, 71.86, 319.20°)
OKLaboklab(44.62% 0.132 -0.1325)
OKLCHoklch(44.62% 0.187 314.9)
XYZxyz(14.2060, 7.5094, 30.8320)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792299 #429922
analogous
#3E2299 #792299 #99227E
triadic
#792299 #997922 #229979
tetradic
#792299 #993E22 #429922 #227E99
square
#792299 #993E22 #429922 #227E99
split-complementary
#792299 #7E9922 #22993E
monochromatic
#2A0C35 #511767 #792299 #A12DCB #B85BDB

Accessibility & contrast

On white

8.39
#792299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#792299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792299
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792299#FFFFFF#000000##FFFFFF
##7922991.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#1C5096
Tritanopia (blue-blind)
#763D5D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #792299;
/* rgb */ color: rgb(121, 34, 153);
/* oklch */ color: oklch(44.6% 0.187 314.9);
Tailwind
colors: {
  custom: {
    50: '#a467b8',
    500: '#792299',
    950: '#000000',
  },
}
SCSS
$custom: #792299;
$custom-light: #a467b8;
$custom-dark: #000000;
JSON
{
  "hex": "#792299",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 283.866,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44622,
    "c": 0.18707,
    "h": 314.9
  },
  "luminance": 0.07509
}

Semantic roles & 50–950 ramp

primary
#792299
secondary
#74BF58
accent
#E7416E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #792299

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

Preview Lab → · Contrast checker → · Palette generator →

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