#792595#792595

#792595 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.6% C 0.180 H 316.1°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#792595
RGBrgb(121, 37, 149)
HSLhsl(285, 60%, 36%)
HSVhsv(285, 75%, 58%)
CMYKcmyk(18.8%, 75.2%, 0%, 41.6%)
CIE-LABlab(33.05, 52.47, -44.34)
CIE-LCHlch(33.05, 68.69, 319.80°)
OKLaboklab(44.61% 0.1298 -0.1249)
OKLCHoklch(44.61% 0.18 316.1)
XYZxyz(13.9707, 7.5586, 29.1510)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792595 #419525
analogous
#412595 #792595 #952579
triadic
#792595 #957925 #259579
tetradic
#792595 #954125 #419525 #257995
square
#792595 #954125 #419525 #257995
split-complementary
#792595 #799525 #259541
monochromatic
#290D33 #511964 #792595 #A131C6 #B95ED7

Accessibility & contrast

On white

8.36
#792595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#792595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792595
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792595#FFFFFF#000000##FFFFFF
##7925951.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#245093
Tritanopia (blue-blind)
#773D5B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #792595;
/* rgb */ color: rgb(121, 37, 149);
/* oklch */ color: oklch(44.6% 0.180 316.1);
Tailwind
colors: {
  custom: {
    50: '#a369b5',
    500: '#792595',
    950: '#000000',
  },
}
SCSS
$custom: #792595;
$custom-light: #a369b5;
$custom-dark: #000000;
JSON
{
  "hex": "#792595",
  "rgb": {
    "r": 121,
    "g": 37,
    "b": 149
  },
  "hsl": {
    "h": 285,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44608,
    "c": 0.18012,
    "h": 316.1
  },
  "luminance": 0.07558
}

Semantic roles & 50–950 ramp

primary
#792595
secondary
#72BC5A
accent
#E3446C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #792595

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

Preview Lab → · Contrast checker → · Palette generator →

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