#792293#792293

#792293 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.2% C 0.182 H 317.0°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#792293
RGBrgb(121, 34, 147)
HSLhsl(286, 62%, 35%)
HSVhsv(286, 77%, 58%)
CMYKcmyk(17.7%, 76.9%, 0%, 42.4%)
CIE-LABlab(32.52, 53.18, -43.97)
CIE-LCHlch(32.52, 69.00, 320.42°)
OKLaboklab(44.19% 0.1329 -0.1238)
OKLCHoklch(44.19% 0.182 317)
XYZxyz(13.7229, 7.3162, 28.2874)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792293 #3C9322
analogous
#412293 #792293 #932274
triadic
#792293 #937922 #229379
tetradic
#792293 #934122 #3C9322 #227493
square
#792293 #934122 #3C9322 #227493
split-complementary
#792293 #749322 #229341
monochromatic
#270B30 #501761 #792293 #A22DC5 #BB57D8

Accessibility & contrast

On white

8.53
#792293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#792293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792293
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792293#FFFFFF#000000##FFFFFF
##7922931.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004796
Deuteranopia (green-blind)
#244F91
Tritanopia (blue-blind)
#783A59
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #792293;
/* rgb */ color: rgb(121, 34, 147);
/* oklch */ color: oklch(44.2% 0.182 317.0);
Tailwind
colors: {
  custom: {
    50: '#a467b3',
    500: '#792293',
    950: '#000000',
  },
}
SCSS
$custom: #792293;
$custom-light: #a467b3;
$custom-dark: #000000;
JSON
{
  "hex": "#792293",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 286.195,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44188,
    "c": 0.18162,
    "h": 317
  },
  "luminance": 0.07316
}

Semantic roles & 50–950 ramp

primary
#792293
secondary
#6CBC55
accent
#E54268
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #792293

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

Preview Lab → · Contrast checker → · Palette generator →

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