#792276#792276

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

Color values

HEX#792276
RGBrgb(121, 34, 118)
HSLhsl(302, 56%, 30%)
HSVhsv(302, 72%, 47%)
CMYKcmyk(0%, 71.9%, 2.5%, 52.5%)
CIE-LABlab(30.68, 47.70, -28.82)
CIE-LCHlch(30.68, 55.73, 328.86°)
OKLaboklab(42.29% 0.1344 -0.0796)
OKLCHoklch(42.29% 0.156 329.4)
XYZxyz(11.7271, 6.5179, 17.7764)
Luminance0.0652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792276 #227925
analogous
#502279 #792276 #79224A
triadic
#792276 #767922 #227679
tetradic
#792276 #795022 #227925 #224A79
square
#792276 #795022 #227925 #224A79
split-complementary
#792276 #4A7922 #227950
monochromatic
#190719 #491547 #792276 #A92FA5 #CC49C7

Accessibility & contrast

On white

9.12
#792276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#792276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792276
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792276#FFFFFF#000000##FFFFFF
##7922761.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174178
Deuteranopia (green-blind)
#3A4C74
Tritanopia (blue-blind)
#7D2D49
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #792276;
/* rgb */ color: rgb(121, 34, 118);
/* oklch */ color: oklch(42.3% 0.156 329.4);
Tailwind
colors: {
  custom: {
    50: '#a3669e',
    500: '#792276',
    950: '#000000',
  },
}
SCSS
$custom: #792276;
$custom-light: #a3669e;
$custom-dark: #000000;
JSON
{
  "hex": "#792276",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 302.069,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42292,
    "c": 0.1562,
    "h": 329.4
  },
  "luminance": 0.06517
}

Semantic roles & 50–950 ramp

primary
#792276
secondary
#4BAC4E
accent
#DF4E48
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #792276

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

Preview Lab → · Contrast checker → · Palette generator →

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