#792193#792193

#792193 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.1% C 0.183 H 317.1°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#792193
RGBrgb(121, 33, 147)
HSLhsl(286, 63%, 35%)
HSVhsv(286, 78%, 58%)
CMYKcmyk(17.7%, 77.6%, 0%, 42.4%)
CIE-LABlab(32.39, 53.54, -44.17)
CIE-LCHlch(32.39, 69.41, 320.48°)
OKLaboklab(44.1% 0.1338 -0.1243)
OKLCHoklch(44.1% 0.183 317.1)
XYZxyz(13.6947, 7.2598, 28.2780)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792193 #3B9321
analogous
#402193 #792193 #932174
triadic
#792193 #937921 #219379
tetradic
#792193 #934021 #3B9321 #217493
square
#792193 #934021 #3B9321 #217493
split-complementary
#792193 #749321 #219340
monochromatic
#270B2F #501661 #792193 #A22CC5 #BB55D9

Accessibility & contrast

On white

8.57
#792193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#792193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792193
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792193#FFFFFF#000000##FFFFFF
##7921931.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #792193;
/* rgb */ color: rgb(121, 33, 147);
/* oklch */ color: oklch(44.1% 0.183 317.1);
Tailwind
colors: {
  custom: {
    50: '#a467b3',
    500: '#792193',
    950: '#000000',
  },
}
SCSS
$custom: #792193;
$custom-light: #a467b3;
$custom-dark: #000000;
JSON
{
  "hex": "#792193",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 286.316,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.441,
    "c": 0.18269,
    "h": 317.1
  },
  "luminance": 0.07259
}

Semantic roles & 50–950 ramp

primary
#792193
secondary
#6BBD53
accent
#E64167
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #792193

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

Preview Lab → · Contrast checker → · Palette generator →

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