#792388#792388

#792388 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.5% C 0.171 H 321.3°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#792388
RGBrgb(121, 35, 136)
HSLhsl(291, 59%, 34%)
HSVhsv(291, 74%, 53%)
CMYKcmyk(11%, 74.3%, 0%, 46.7%)
CIE-LABlab(31.91, 50.64, -38.15)
CIE-LCHlch(31.91, 63.41, 323.01°)
OKLaboklab(43.52% 0.1331 -0.1067)
OKLCHoklch(43.52% 0.171 321.3)
XYZxyz(12.9296, 7.0453, 23.9666)
Luminance0.0704 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792388 #328823
analogous
#462388 #792388 #882364
triadic
#792388 #887923 #238879
tetradic
#792388 #884623 #328823 #236488
square
#792388 #884623 #328823 #236488
split-complementary
#792388 #648823 #238846
monochromatic
#220A27 #4E1657 #792388 #A430B9 #C053D3

Accessibility & contrast

On white

8.72
#792388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#792388 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792388
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792388#FFFFFF#000000##FFFFFF
##7923881.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458B
Deuteranopia (green-blind)
#2F4E86
Tritanopia (blue-blind)
#7A3653
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #792388;
/* rgb */ color: rgb(121, 35, 136);
/* oklch */ color: oklch(43.5% 0.171 321.3);
Tailwind
colors: {
  custom: {
    50: '#a367ab',
    500: '#792388',
    950: '#000000',
  },
}
SCSS
$custom: #792388;
$custom-light: #a367ab;
$custom-dark: #000000;
JSON
{
  "hex": "#792388",
  "rgb": {
    "r": 121,
    "g": 35,
    "b": 136
  },
  "hsl": {
    "h": 291.089,
    "s": 59.064,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43522,
    "c": 0.17059,
    "h": 321.3
  },
  "luminance": 0.07045
}

Semantic roles & 50–950 ramp

primary
#792388
secondary
#5FB750
accent
#E2465D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #792388

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

Preview Lab → · Contrast checker → · Palette generator →

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