#792586#792586

#792586 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.6% C 0.166 H 322.0°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#792586
RGBrgb(121, 37, 134)
HSLhsl(292, 57%, 34%)
HSVhsv(292, 72%, 53%)
CMYKcmyk(9.7%, 72.4%, 0%, 47.5%)
CIE-LABlab(32.06, 49.48, -36.68)
CIE-LCHlch(32.06, 61.59, 323.45°)
OKLaboklab(43.59% 0.1311 -0.1024)
OKLCHoklch(43.59% 0.166 322)
XYZxyz(12.8493, 7.1100, 23.2452)
Luminance0.0711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792586 #328625
analogous
#482586 #792586 #862562
triadic
#792586 #867925 #258679
tetradic
#792586 #864825 #328625 #256286
square
#792586 #864825 #328625 #256286
split-complementary
#792586 #628625 #258648
monochromatic
#220B26 #4E1856 #792586 #A432B6 #C055D0

Accessibility & contrast

On white

8.67
#792586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792586
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792586#FFFFFF#000000##FFFFFF
##7925861.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#324F84
Tritanopia (blue-blind)
#7A3653
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #792586;
/* rgb */ color: rgb(121, 37, 134);
/* oklch */ color: oklch(43.6% 0.166 322.0);
Tailwind
colors: {
  custom: {
    50: '#a368aa',
    500: '#792586',
    950: '#000000',
  },
}
SCSS
$custom: #792586;
$custom-light: #a368aa;
$custom-dark: #000000;
JSON
{
  "hex": "#792586",
  "rgb": {
    "r": 121,
    "g": 37,
    "b": 134
  },
  "hsl": {
    "h": 291.959,
    "s": 56.725,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43586,
    "c": 0.16637,
    "h": 322
  },
  "luminance": 0.07109
}

Semantic roles & 50–950 ramp

primary
#792586
secondary
#5FB452
accent
#E0485C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792586

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

Preview Lab → · Contrast checker → · Palette generator →

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