#792377#792377

#792377 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.5% C 0.156 H 328.9°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#792377
RGBrgb(121, 35, 119)
HSLhsl(301, 55%, 31%)
HSVhsv(301, 71%, 47%)
CMYKcmyk(0%, 71.1%, 1.7%, 52.5%)
CIE-LABlab(30.88, 47.48, -29.15)
CIE-LCHlch(30.88, 55.71, 328.46°)
OKLaboklab(42.45% 0.1333 -0.0805)
OKLCHoklch(42.45% 0.156 328.9)
XYZxyz(11.8158, 6.5998, 18.1007)
Luminance0.0660 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792377 #237925
analogous
#502379 #792377 #79234C
triadic
#792377 #777923 #237779
tetradic
#792377 #795023 #237925 #234C79
square
#792377 #795023 #237925 #234C79
split-complementary
#792377 #4C7923 #237950
monochromatic
#1A081A #4A1548 #792377 #A831A6 #CB4BC8

Accessibility & contrast

On white

9.05
#792377 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#792377 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792377
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792377#FFFFFF#000000##FFFFFF
##7923771.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184179
Deuteranopia (green-blind)
#3A4D75
Tritanopia (blue-blind)
#7D2F4A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #792377;
/* rgb */ color: rgb(121, 35, 119);
/* oklch */ color: oklch(42.5% 0.156 328.9);
Tailwind
colors: {
  custom: {
    50: '#a3669e',
    500: '#792377',
    950: '#000000',
  },
}
SCSS
$custom: #792377;
$custom-light: #a3669e;
$custom-dark: #000000;
JSON
{
  "hex": "#792377",
  "rgb": {
    "r": 121,
    "g": 35,
    "b": 119
  },
  "hsl": {
    "h": 301.395,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42451,
    "c": 0.15576,
    "h": 328.9
  },
  "luminance": 0.06599
}

Semantic roles & 50–950 ramp

primary
#792377
secondary
#4CAC4E
accent
#DE4D49
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #792377

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

Preview Lab → · Contrast checker → · Palette generator →

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