#792374#792374

#792374 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.3% C 0.153 H 330.4°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#792374
RGBrgb(121, 35, 116)
HSLhsl(303, 55%, 31%)
HSVhsv(303, 71%, 47%)
CMYKcmyk(0%, 71.1%, 4.1%, 52.5%)
CIE-LABlab(30.71, 46.96, -27.51)
CIE-LCHlch(30.71, 54.42, 329.63°)
OKLaboklab(42.28% 0.1332 -0.0758)
OKLCHoklch(42.28% 0.153 330.4)
XYZxyz(11.6385, 6.5288, 17.1668)
Luminance0.0653 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792374 #237928
analogous
#532379 #792374 #792349
triadic
#792374 #747923 #237479
tetradic
#792374 #795323 #237928 #234979
square
#792374 #795323 #237928 #234979
split-complementary
#792374 #497923 #237953
monochromatic
#1A0819 #4A1546 #792374 #A831A2 #CB4BC4

Accessibility & contrast

On white

9.11
#792374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#792374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792374
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792374#FFFFFF#000000##FFFFFF
##7923741.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4176
Deuteranopia (green-blind)
#3C4C72
Tritanopia (blue-blind)
#7E2D48
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #792374;
/* rgb */ color: rgb(121, 35, 116);
/* oklch */ color: oklch(42.3% 0.153 330.4);
Tailwind
colors: {
  custom: {
    50: '#a3669c',
    500: '#792374',
    950: '#000000',
  },
}
SCSS
$custom: #792374;
$custom-light: #a3669c;
$custom-dark: #000000;
JSON
{
  "hex": "#792374",
  "rgb": {
    "r": 121,
    "g": 35,
    "b": 116
  },
  "hsl": {
    "h": 303.488,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42275,
    "c": 0.15325,
    "h": 330.4
  },
  "luminance": 0.06528
}

Semantic roles & 50–950 ramp

primary
#792374
secondary
#4CAC52
accent
#DE5249
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #792374

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

Preview Lab → · Contrast checker → · Palette generator →

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