#792773#792773

#792773 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.6% C 0.147 H 330.9°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#792773
RGBrgb(121, 39, 115)
HSLhsl(304, 51%, 31%)
HSVhsv(304, 68%, 47%)
CMYKcmyk(0%, 67.8%, 5%, 52.5%)
CIE-LABlab(31.24, 45.13, -26.04)
CIE-LCHlch(31.24, 52.11, 330.02°)
OKLaboklab(42.64% 0.1284 -0.0716)
OKLCHoklch(42.64% 0.147 330.9)
XYZxyz(11.7051, 6.7547, 16.9036)
Luminance0.0675 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792773 #27792D
analogous
#562779 #792773 #79274A
triadic
#792773 #737927 #277379
tetradic
#792773 #795627 #27792D #274A79
square
#792773 #795627 #27792D #274A79
split-complementary
#792773 #4A7927 #277956
monochromatic
#1C091B #4B1847 #792773 #A7369F #C853BF

Accessibility & contrast

On white

8.93
#792773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#792773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792773
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792773#FFFFFF#000000##FFFFFF
##7927731.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214275
Deuteranopia (green-blind)
#3E4E71
Tritanopia (blue-blind)
#7E3049
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #792773;
/* rgb */ color: rgb(121, 39, 115);
/* oklch */ color: oklch(42.6% 0.147 330.9);
Tailwind
colors: {
  custom: {
    50: '#a2689b',
    500: '#792773',
    950: '#000000',
  },
}
SCSS
$custom: #792773;
$custom-light: #a2689b;
$custom-dark: #000000;
JSON
{
  "hex": "#792773",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 115
  },
  "hsl": {
    "h": 304.39,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42642,
    "c": 0.14698,
    "h": 330.9
  },
  "luminance": 0.06754
}

Semantic roles & 50–950 ramp

primary
#792773
secondary
#51AB57
accent
#DB574D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #792773

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

Preview Lab → · Contrast checker → · Palette generator →

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