#792585#792585

#792585 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.5% C 0.165 H 322.4°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#792585
RGBrgb(121, 37, 133)
HSLhsl(293, 56%, 33%)
HSVhsv(293, 72%, 52%)
CMYKcmyk(9%, 72.2%, 0%, 47.8%)
CIE-LABlab(31.99, 49.28, -36.16)
CIE-LCHlch(31.99, 61.12, 323.74°)
OKLaboklab(43.52% 0.1311 -0.1009)
OKLCHoklch(43.52% 0.165 322.4)
XYZxyz(12.7799, 7.0823, 22.8796)
Luminance0.0708 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792585 #318525
analogous
#492585 #792585 #852561
triadic
#792585 #857925 #258579
tetradic
#792585 #854925 #318525 #256185
square
#792585 #854925 #318525 #256185
split-complementary
#792585 #618525 #258549
monochromatic
#220A25 #4D1855 #792585 #A532B5 #C055D0

Accessibility & contrast

On white

8.69
#792585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#792585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792585
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792585#FFFFFF#000000##FFFFFF
##7925851.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024588
Deuteranopia (green-blind)
#334E83
Tritanopia (blue-blind)
#7B3652
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #792585;
/* rgb */ color: rgb(121, 37, 133);
/* oklch */ color: oklch(43.5% 0.165 322.4);
Tailwind
colors: {
  custom: {
    50: '#a368a9',
    500: '#792585',
    950: '#000000',
  },
}
SCSS
$custom: #792585;
$custom-light: #a368a9;
$custom-dark: #000000;
JSON
{
  "hex": "#792585",
  "rgb": {
    "r": 121,
    "g": 37,
    "b": 133
  },
  "hsl": {
    "h": 292.5,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43521,
    "c": 0.16547,
    "h": 322.4
  },
  "luminance": 0.07082
}

Semantic roles & 50–950 ramp

primary
#792585
secondary
#5EB452
accent
#E0485B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792585

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

Preview Lab → · Contrast checker → · Palette generator →

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