#792297#792297

#792297 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.5% C 0.185 H 315.6°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#792297
RGBrgb(121, 34, 151)
HSLhsl(285, 63%, 36%)
HSVhsv(285, 77%, 59%)
CMYKcmyk(19.9%, 77.5%, 0%, 40.8%)
CIE-LABlab(32.80, 53.99, -45.97)
CIE-LCHlch(32.80, 70.91, 319.59°)
OKLaboklab(44.48% 0.1324 -0.1296)
OKLCHoklch(44.48% 0.185 315.6)
XYZxyz(14.0422, 7.4439, 29.9693)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792297 #409722
analogous
#3F2297 #792297 #97227B
triadic
#792297 #977922 #229779
tetradic
#792297 #973F22 #409722 #227B97
square
#792297 #973F22 #409722 #227B97
split-complementary
#792297 #7B9722 #22973F
monochromatic
#290C33 #511765 #792297 #A12DC9 #B95ADA

Accessibility & contrast

On white

8.44
#792297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#792297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792297
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792297#FFFFFF#000000##FFFFFF
##7922971.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#1F4F94
Tritanopia (blue-blind)
#773C5C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #792297;
/* rgb */ color: rgb(121, 34, 151);
/* oklch */ color: oklch(44.5% 0.185 315.6);
Tailwind
colors: {
  custom: {
    50: '#a467b6',
    500: '#792297',
    950: '#000000',
  },
}
SCSS
$custom: #792297;
$custom-light: #a467b6;
$custom-dark: #000000;
JSON
{
  "hex": "#792297",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 284.615,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44476,
    "c": 0.18526,
    "h": 315.6
  },
  "luminance": 0.07443
}

Semantic roles & 50–950 ramp

primary
#792297
secondary
#71BE57
accent
#E6426C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #792297

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

Preview Lab → · Contrast checker → · Palette generator →

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