#792393#792393

#792393 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.3% C 0.181 H 317.0°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#792393
RGBrgb(121, 35, 147)
HSLhsl(286, 62%, 36%)
HSVhsv(286, 76%, 58%)
CMYKcmyk(17.7%, 76.2%, 0%, 42.4%)
CIE-LABlab(32.64, 52.82, -43.76)
CIE-LCHlch(32.64, 68.59, 320.36°)
OKLaboklab(44.28% 0.132 -0.1232)
OKLCHoklch(44.28% 0.181 317)
XYZxyz(13.7519, 7.3742, 28.2971)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792393 #3D9323
analogous
#412393 #792393 #932375
triadic
#792393 #937923 #239379
tetradic
#792393 #934123 #3D9323 #237593
square
#792393 #934123 #3D9323 #237593
split-complementary
#792393 #759323 #239341
monochromatic
#280B30 #501762 #792393 #A22FC4 #BA59D7

Accessibility & contrast

On white

8.49
#792393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#792393 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792393
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792393#FFFFFF#000000##FFFFFF
##7923931.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004896
Deuteranopia (green-blind)
#254F91
Tritanopia (blue-blind)
#783B5A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #792393;
/* rgb */ color: rgb(121, 35, 147);
/* oklch */ color: oklch(44.3% 0.181 317.0);
Tailwind
colors: {
  custom: {
    50: '#a368b3',
    500: '#792393',
    950: '#000000',
  },
}
SCSS
$custom: #792393;
$custom-light: #a368b3;
$custom-dark: #000000;
JSON
{
  "hex": "#792393",
  "rgb": {
    "r": 121,
    "g": 35,
    "b": 147
  },
  "hsl": {
    "h": 286.071,
    "s": 61.538,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44279,
    "c": 0.18053,
    "h": 317
  },
  "luminance": 0.07374
}

Semantic roles & 50–950 ramp

primary
#792393
secondary
#6EBC56
accent
#E54369
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #792393

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

Preview Lab → · Contrast checker → · Palette generator →

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