#792280#792280

#792280 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.9% C 0.165 H 324.7°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#792280
RGBrgb(121, 34, 128)
HSLhsl(296, 58%, 32%)
HSVhsv(296, 73%, 50%)
CMYKcmyk(5.5%, 73.4%, 0%, 49.8%)
CIE-LABlab(31.27, 49.50, -34.18)
CIE-LCHlch(31.27, 60.16, 325.38°)
OKLaboklab(42.91% 0.1345 -0.0951)
OKLCHoklch(42.91% 0.165 324.7)
XYZxyz(12.3532, 6.7683, 21.0736)
Luminance0.0677 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792280 #298022
analogous
#4A2280 #792280 #802258
triadic
#792280 #807922 #228079
tetradic
#792280 #804A22 #298022 #225880
square
#792280 #804A22 #298022 #225880
split-complementary
#792280 #588022 #22804A
monochromatic
#1E081F #4B1550 #792280 #A72FB0 #C64DD0

Accessibility & contrast

On white

8.92
#792280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792280
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792280#FFFFFF#000000##FFFFFF
##7922801.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064383
Deuteranopia (green-blind)
#344D7E
Tritanopia (blue-blind)
#7C324F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #792280;
/* rgb */ color: rgb(121, 34, 128);
/* oklch */ color: oklch(42.9% 0.165 324.7);
Tailwind
colors: {
  custom: {
    50: '#a366a5',
    500: '#792280',
    950: '#000000',
  },
}
SCSS
$custom: #792280;
$custom-light: #a366a5;
$custom-dark: #000000;
JSON
{
  "hex": "#792280",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 128
  },
  "hsl": {
    "h": 295.532,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42906,
    "c": 0.16473,
    "h": 324.7
  },
  "luminance": 0.06768
}

Semantic roles & 50–950 ramp

primary
#792280
secondary
#53B24B
accent
#E14752
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #792280

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

Preview Lab → · Contrast checker → · Palette generator →

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