#792080#792080

#792080 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.7% C 0.167 H 324.8°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#792080
RGBrgb(121, 32, 128)
HSLhsl(296, 60%, 31%)
HSVhsv(296, 75%, 50%)
CMYKcmyk(5.5%, 75%, 0%, 49.8%)
CIE-LABlab(31.01, 50.24, -34.60)
CIE-LCHlch(31.01, 61.00, 325.45°)
OKLaboklab(42.72% 0.1365 -0.0963)
OKLCHoklch(42.72% 0.167 324.8)
XYZxyz(12.2976, 6.6573, 21.0551)
Luminance0.0666 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792080 #278020
analogous
#492080 #792080 #802057
triadic
#792080 #807920 #208079
tetradic
#792080 #804920 #278020 #205780
square
#792080 #804920 #278020 #205780
split-complementary
#792080 #578020 #208049
monochromatic
#1C081E #4B144F #792080 #A72CB1 #C849D1

Accessibility & contrast

On white

9.01
#792080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#792080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792080
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792080#FFFFFF#000000##FFFFFF
##7920801.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004283
Deuteranopia (green-blind)
#334D7E
Tritanopia (blue-blind)
#7C314E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #792080;
/* rgb */ color: rgb(121, 32, 128);
/* oklch */ color: oklch(42.7% 0.167 324.8);
Tailwind
colors: {
  custom: {
    50: '#a365a5',
    500: '#792080',
    950: '#000000',
  },
}
SCSS
$custom: #792080;
$custom-light: #a365a5;
$custom-dark: #000000;
JSON
{
  "hex": "#792080",
  "rgb": {
    "r": 121,
    "g": 32,
    "b": 128
  },
  "hsl": {
    "h": 295.625,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4272,
    "c": 0.16708,
    "h": 324.8
  },
  "luminance": 0.06656
}

Semantic roles & 50–950 ramp

primary
#792080
secondary
#51B349
accent
#E34550
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #792080

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

Preview Lab → · Contrast checker → · Palette generator →

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