#792277#792277

#792277 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.4% C 0.157 H 328.9°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#792277
RGBrgb(121, 34, 119)
HSLhsl(301, 56%, 30%)
HSVhsv(301, 72%, 47%)
CMYKcmyk(0%, 71.9%, 1.7%, 52.5%)
CIE-LABlab(30.74, 47.87, -29.36)
CIE-LCHlch(30.74, 56.16, 328.48°)
OKLaboklab(42.35% 0.1344 -0.0811)
OKLCHoklch(42.35% 0.157 328.9)
XYZxyz(11.7868, 6.5418, 18.0911)
Luminance0.0654 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792277 #227924
analogous
#4F2279 #792277 #79224C
triadic
#792277 #777922 #227779
tetradic
#792277 #794F22 #227924 #224C79
square
#792277 #794F22 #227924 #224C79
split-complementary
#792277 #4C7922 #22794F
monochromatic
#190719 #491548 #792277 #A92FA6 #CC49C9

Accessibility & contrast

On white

9.10
#792277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792277
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792277#FFFFFF#000000##FFFFFF
##7922771.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164179
Deuteranopia (green-blind)
#3A4C75
Tritanopia (blue-blind)
#7D2E4A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #792277;
/* rgb */ color: rgb(121, 34, 119);
/* oklch */ color: oklch(42.4% 0.157 328.9);
Tailwind
colors: {
  custom: {
    50: '#a3669e',
    500: '#792277',
    950: '#000000',
  },
}
SCSS
$custom: #792277;
$custom-light: #a3669e;
$custom-dark: #000000;
JSON
{
  "hex": "#792277",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 119
  },
  "hsl": {
    "h": 301.379,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42351,
    "c": 0.15704,
    "h": 328.9
  },
  "luminance": 0.06541
}

Semantic roles & 50–950 ramp

primary
#792277
secondary
#4BAC4D
accent
#DF4C48
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #792277

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

Preview Lab → · Contrast checker → · Palette generator →

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