#792380#792380

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

Color values

HEX#792380
RGBrgb(121, 35, 128)
HSLhsl(295, 57%, 32%)
HSVhsv(295, 73%, 50%)
CMYKcmyk(5.5%, 72.7%, 0%, 49.8%)
CIE-LABlab(31.41, 49.12, -33.97)
CIE-LCHlch(31.41, 59.72, 325.34°)
OKLaboklab(43% 0.1334 -0.0945)
OKLCHoklch(43% 0.164 324.7)
XYZxyz(12.3822, 6.8263, 21.0833)
Luminance0.0683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792380 #2A8023
analogous
#4B2380 #792380 #802359
triadic
#792380 #807923 #238079
tetradic
#792380 #804B23 #2A8023 #235980
square
#792380 #804B23 #2A8023 #235980
split-complementary
#792380 #598023 #23804B
monochromatic
#1E0920 #4C1650 #792380 #A630B0 #C54FCF

Accessibility & contrast

On white

8.88
#792380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#792380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792380
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792380#FFFFFF#000000##FFFFFF
##7923801.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094383
Deuteranopia (green-blind)
#354D7E
Tritanopia (blue-blind)
#7C334F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #792380;
/* rgb */ color: rgb(121, 35, 128);
/* oklch */ color: oklch(43.0% 0.164 324.7);
Tailwind
colors: {
  custom: {
    50: '#a367a5',
    500: '#792380',
    950: '#000000',
  },
}
SCSS
$custom: #792380;
$custom-light: #a367a5;
$custom-dark: #000000;
JSON
{
  "hex": "#792380",
  "rgb": {
    "r": 121,
    "g": 35,
    "b": 128
  },
  "hsl": {
    "h": 295.484,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43003,
    "c": 0.16351,
    "h": 324.7
  },
  "luminance": 0.06826
}

Semantic roles & 50–950 ramp

primary
#792380
secondary
#54B24D
accent
#E04753
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #792380

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

Preview Lab → · Contrast checker → · Palette generator →

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