#792580#792580

#792580 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.2% C 0.161 H 324.6°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#792580
RGBrgb(121, 37, 128)
HSLhsl(295, 55%, 32%)
HSVhsv(295, 71%, 50%)
CMYKcmyk(5.5%, 71.1%, 0%, 49.8%)
CIE-LABlab(31.69, 48.33, -33.52)
CIE-LCHlch(31.69, 58.82, 325.25°)
OKLaboklab(43.2% 0.1312 -0.0932)
OKLCHoklch(43.2% 0.161 324.6)
XYZxyz(12.4427, 6.9474, 21.1035)
Luminance0.0695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792580 #2C8025
analogous
#4C2580 #792580 #802559
triadic
#792580 #807925 #258079
tetradic
#792580 #804C25 #2C8025 #255980
square
#792580 #804C25 #2C8025 #255980
split-complementary
#792580 #598025 #25804C
monochromatic
#1F0A21 #4C1751 #792580 #A633AF #C452CD

Accessibility & contrast

On white

8.79
#792580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#792580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792580
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792580#FFFFFF#000000##FFFFFF
##7925801.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4483
Deuteranopia (green-blind)
#364E7E
Tritanopia (blue-blind)
#7C3450
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #792580;
/* rgb */ color: rgb(121, 37, 128);
/* oklch */ color: oklch(43.2% 0.161 324.6);
Tailwind
colors: {
  custom: {
    50: '#a368a5',
    500: '#792580',
    950: '#000000',
  },
}
SCSS
$custom: #792580;
$custom-light: #a368a5;
$custom-dark: #000000;
JSON
{
  "hex": "#792580",
  "rgb": {
    "r": 121,
    "g": 37,
    "b": 128
  },
  "hsl": {
    "h": 295.385,
    "s": 55.152,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43202,
    "c": 0.161,
    "h": 324.6
  },
  "luminance": 0.06947
}

Semantic roles & 50–950 ramp

primary
#792580
secondary
#57B150
accent
#DE4955
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #792580

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

Preview Lab → · Contrast checker → · Palette generator →

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