#792273#792273

#792273 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.1% C 0.154 H 330.9°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#792273
RGBrgb(121, 34, 115)
HSLhsl(304, 56%, 30%)
HSVhsv(304, 72%, 47%)
CMYKcmyk(0%, 71.9%, 5%, 52.5%)
CIE-LABlab(30.52, 47.17, -27.18)
CIE-LCHlch(30.52, 54.45, 330.05°)
OKLaboklab(42.12% 0.1343 -0.0748)
OKLCHoklch(42.12% 0.154 330.9)
XYZxyz(11.5517, 6.4477, 16.8524)
Luminance0.0645 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792273 #227928
analogous
#532279 #792273 #792247
triadic
#792273 #737922 #227379
tetradic
#792273 #795322 #227928 #224779
square
#792273 #795322 #227928 #224779
split-complementary
#792273 #477922 #227953
monochromatic
#190718 #491546 #792273 #A92FA0 #CC49C3

Accessibility & contrast

On white

9.17
#792273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#792273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792273
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792273#FFFFFF#000000##FFFFFF
##7922731.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4075
Deuteranopia (green-blind)
#3C4C71
Tritanopia (blue-blind)
#7E2C48
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #792273;
/* rgb */ color: rgb(121, 34, 115);
/* oklch */ color: oklch(42.1% 0.154 330.9);
Tailwind
colors: {
  custom: {
    50: '#a3669b',
    500: '#792273',
    950: '#000000',
  },
}
SCSS
$custom: #792273;
$custom-light: #a3669b;
$custom-dark: #000000;
JSON
{
  "hex": "#792273",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 304.138,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42116,
    "c": 0.15371,
    "h": 330.9
  },
  "luminance": 0.06447
}

Semantic roles & 50–950 ramp

primary
#792273
secondary
#4BAC52
accent
#DF5348
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #792273

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

Preview Lab → · Contrast checker → · Palette generator →

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