#792383#792383

#792383 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.2% C 0.166 H 323.4°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#792383
RGBrgb(121, 35, 131)
HSLhsl(294, 58%, 33%)
HSVhsv(294, 73%, 51%)
CMYKcmyk(7.6%, 73.3%, 0%, 48.6%)
CIE-LABlab(31.59, 49.68, -35.55)
CIE-LCHlch(31.59, 61.09, 324.42°)
OKLaboklab(43.19% 0.1333 -0.0991)
OKLCHoklch(43.19% 0.166 323.4)
XYZxyz(12.5825, 6.9065, 22.1387)
Luminance0.0691 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792383 #2D8323
analogous
#492383 #792383 #83235D
triadic
#792383 #837923 #238379
tetradic
#792383 #834923 #2D8323 #235D83
square
#792383 #834923 #2D8323 #235D83
split-complementary
#792383 #5D8323 #238349
monochromatic
#200922 #4C1653 #792383 #A630B3 #C350D0

Accessibility & contrast

On white

8.82
#792383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#792383 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792383
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792383#FFFFFF#000000##FFFFFF
##7923831.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014486
Deuteranopia (green-blind)
#334E81
Tritanopia (blue-blind)
#7B3451
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #792383;
/* rgb */ color: rgb(121, 35, 131);
/* oklch */ color: oklch(43.2% 0.166 323.4);
Tailwind
colors: {
  custom: {
    50: '#a367a7',
    500: '#792383',
    950: '#000000',
  },
}
SCSS
$custom: #792383;
$custom-light: #a367a7;
$custom-dark: #000000;
JSON
{
  "hex": "#792383",
  "rgb": {
    "r": 121,
    "g": 35,
    "b": 131
  },
  "hsl": {
    "h": 293.75,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43194,
    "c": 0.16614,
    "h": 323.4
  },
  "luminance": 0.06906
}

Semantic roles & 50–950 ramp

primary
#792383
secondary
#58B44E
accent
#E14757
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #792383

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

Preview Lab → · Contrast checker → · Palette generator →

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