#792378#792378

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

Color values

HEX#792378
RGBrgb(121, 35, 120)
HSLhsl(301, 55%, 31%)
HSVhsv(301, 71%, 47%)
CMYKcmyk(0%, 71.1%, 0.8%, 52.5%)
CIE-LABlab(30.93, 47.66, -29.69)
CIE-LCHlch(30.93, 56.15, 328.08°)
OKLaboklab(42.51% 0.1334 -0.0821)
OKLCHoklch(42.51% 0.157 328.4)
XYZxyz(11.8762, 6.6239, 18.4187)
Luminance0.0662 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792378 #237924
analogous
#4F2379 #792378 #79234D
triadic
#792378 #787923 #237879
tetradic
#792378 #794F23 #237924 #234D79
square
#792378 #794F23 #237924 #234D79
split-complementary
#792378 #4D7923 #23794F
monochromatic
#1A081A #4A1549 #792378 #A831A7 #CB4BCA

Accessibility & contrast

On white

9.03
#792378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792378
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792378#FFFFFF#000000##FFFFFF
##7923781.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17427A
Deuteranopia (green-blind)
#3A4D76
Tritanopia (blue-blind)
#7D2F4B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #792378;
/* rgb */ color: rgb(121, 35, 120);
/* oklch */ color: oklch(42.5% 0.157 328.4);
Tailwind
colors: {
  custom: {
    50: '#a3669f',
    500: '#792378',
    950: '#000000',
  },
}
SCSS
$custom: #792378;
$custom-light: #a3669f;
$custom-dark: #000000;
JSON
{
  "hex": "#792378",
  "rgb": {
    "r": 121,
    "g": 35,
    "b": 120
  },
  "hsl": {
    "h": 300.698,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.4251,
    "c": 0.15661,
    "h": 328.4
  },
  "luminance": 0.06623
}

Semantic roles & 50–950 ramp

primary
#792378
secondary
#4CAC4D
accent
#DE4B49
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #792378

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

Preview Lab → · Contrast checker → · Palette generator →

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