#792574#792574

#792574 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.5% C 0.151 H 330.4°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#792574
RGBrgb(121, 37, 116)
HSLhsl(304, 53%, 31%)
HSVhsv(304, 69%, 47%)
CMYKcmyk(0%, 69.4%, 4.1%, 52.5%)
CIE-LABlab(31.00, 46.15, -27.06)
CIE-LCHlch(31.00, 53.50, 329.61°)
OKLaboklab(42.48% 0.1309 -0.0745)
OKLCHoklch(42.48% 0.151 330.4)
XYZxyz(11.6991, 6.6499, 17.1870)
Luminance0.0665 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792574 #25792A
analogous
#542579 #792574 #79254A
triadic
#792574 #747925 #257479
tetradic
#792574 #795425 #25792A #254A79
square
#792574 #795425 #25792A #254A79
split-complementary
#792574 #4A7925 #257954
monochromatic
#1B081A #4A1747 #792574 #A833A1 #C94FC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##792574#FFFFFF#000000##FFFFFF
##7925741.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)
#1E4276
Deuteranopia (green-blind)
#3D4D72
Tritanopia (blue-blind)
#7E2F49
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #792574;
/* rgb */ color: rgb(121, 37, 116);
/* oklch */ color: oklch(42.5% 0.151 330.4);
Tailwind
colors: {
  custom: {
    50: '#a3679c',
    500: '#792574',
    950: '#000000',
  },
}
SCSS
$custom: #792574;
$custom-light: #a3679c;
$custom-dark: #000000;
JSON
{
  "hex": "#792574",
  "rgb": {
    "r": 121,
    "g": 37,
    "b": 116
  },
  "hsl": {
    "h": 303.571,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42482,
    "c": 0.1506,
    "h": 330.4
  },
  "luminance": 0.06649
}

Semantic roles & 50–950 ramp

primary
#792574
secondary
#4EAB54
accent
#DD544B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #792574

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

Preview Lab → · Contrast checker → · Palette generator →

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