#792282#792282

#792282 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.0% C 0.166 H 323.8°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#792282
RGBrgb(121, 34, 130)
HSLhsl(294, 59%, 32%)
HSVhsv(294, 74%, 51%)
CMYKcmyk(6.9%, 73.8%, 0%, 49%)
CIE-LABlab(31.40, 49.88, -35.24)
CIE-LCHlch(31.40, 61.07, 324.76°)
OKLaboklab(43.03% 0.1344 -0.0982)
OKLCHoklch(43.03% 0.166 323.8)
XYZxyz(12.4861, 6.8215, 21.7738)
Luminance0.0682 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792282 #2B8222
analogous
#492282 #792282 #82225B
triadic
#792282 #827922 #228279
tetradic
#792282 #824922 #2B8222 #225B82
square
#792282 #824922 #2B8222 #225B82
split-complementary
#792282 #5B8222 #228249
monochromatic
#1F0921 #4C1551 #792282 #A62FB3 #C44ED1

Accessibility & contrast

On white

8.88
#792282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#792282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792282
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792282#FFFFFF#000000##FFFFFF
##7922821.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014385
Deuteranopia (green-blind)
#334D80
Tritanopia (blue-blind)
#7B3350
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #792282;
/* rgb */ color: rgb(121, 34, 130);
/* oklch */ color: oklch(43.0% 0.166 323.8);
Tailwind
colors: {
  custom: {
    50: '#a366a7',
    500: '#792282',
    950: '#000000',
  },
}
SCSS
$custom: #792282;
$custom-light: #a366a7;
$custom-dark: #000000;
JSON
{
  "hex": "#792282",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 294.375,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43034,
    "c": 0.16647,
    "h": 323.8
  },
  "luminance": 0.06821
}

Semantic roles & 50–950 ramp

primary
#792282
secondary
#56B44C
accent
#E24655
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #792282

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

Preview Lab → · Contrast checker → · Palette generator →

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