#792385#792385

#792385 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.3% C 0.168 H 322.5°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#792385
RGBrgb(121, 35, 133)
HSLhsl(293, 58%, 33%)
HSVhsv(293, 74%, 52%)
CMYKcmyk(9%, 73.7%, 0%, 47.8%)
CIE-LABlab(31.72, 50.07, -36.59)
CIE-LCHlch(31.72, 62.01, 323.84°)
OKLaboklab(43.32% 0.1333 -0.1022)
OKLCHoklch(43.32% 0.168 322.5)
XYZxyz(12.7194, 6.9612, 22.8594)
Luminance0.0696 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792385 #2F8523
analogous
#482385 #792385 #852360
triadic
#792385 #857923 #238579
tetradic
#792385 #854823 #2F8523 #236085
square
#792385 #854823 #2F8523 #236085
split-complementary
#792385 #608523 #238548
monochromatic
#210924 #4D1655 #792385 #A530B5 #C251D1

Accessibility & contrast

On white

8.78
#792385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792385
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792385#FFFFFF#000000##FFFFFF
##7923851.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004488
Deuteranopia (green-blind)
#314E83
Tritanopia (blue-blind)
#7B3552
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #792385;
/* rgb */ color: rgb(121, 35, 133);
/* oklch */ color: oklch(43.3% 0.168 322.5);
Tailwind
colors: {
  custom: {
    50: '#a367a9',
    500: '#792385',
    950: '#000000',
  },
}
SCSS
$custom: #792385;
$custom-light: #a367a9;
$custom-dark: #000000;
JSON
{
  "hex": "#792385",
  "rgb": {
    "r": 121,
    "g": 35,
    "b": 133
  },
  "hsl": {
    "h": 292.653,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43324,
    "c": 0.16792,
    "h": 322.5
  },
  "luminance": 0.0696
}

Semantic roles & 50–950 ramp

primary
#792385
secondary
#5BB54F
accent
#E24659
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #792385

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

Preview Lab → · Contrast checker → · Palette generator →

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