#792272#792272

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

Color values

HEX#792272
RGBrgb(121, 34, 114)
HSLhsl(305, 56%, 30%)
HSVhsv(305, 72%, 47%)
CMYKcmyk(0%, 71.9%, 5.8%, 52.5%)
CIE-LABlab(30.46, 47.00, -26.63)
CIE-LCHlch(30.46, 54.02, 330.46°)
OKLaboklab(42.06% 0.1342 -0.0732)
OKLCHoklch(42.06% 0.153 331.4)
XYZxyz(11.4944, 6.4248, 16.5510)
Luminance0.0642 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792272 #227929
analogous
#552279 #792272 #792246
triadic
#792272 #727922 #227279
tetradic
#792272 #795522 #227929 #224679
square
#792272 #795522 #227929 #224679
split-complementary
#792272 #467922 #227955
monochromatic
#190718 #491545 #792272 #A92F9F #CC49C1

Accessibility & contrast

On white

9.19
#792272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#792272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792272
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792272#FFFFFF#000000##FFFFFF
##7922721.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4074
Deuteranopia (green-blind)
#3C4C70
Tritanopia (blue-blind)
#7E2C47
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #792272;
/* rgb */ color: rgb(121, 34, 114);
/* oklch */ color: oklch(42.1% 0.153 331.4);
Tailwind
colors: {
  custom: {
    50: '#a3669b',
    500: '#792272',
    950: '#000000',
  },
}
SCSS
$custom: #792272;
$custom-light: #a3669b;
$custom-dark: #000000;
JSON
{
  "hex": "#792272",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 114
  },
  "hsl": {
    "h": 304.828,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42059,
    "c": 0.15289,
    "h": 331.4
  },
  "luminance": 0.06424
}

Semantic roles & 50–950 ramp

primary
#792272
secondary
#4BAC53
accent
#DF5548
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #792272

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

Preview Lab → · Contrast checker → · Palette generator →

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