#792286#792286

#792286 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.3% C 0.170 H 322.1°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#792286
RGBrgb(121, 34, 134)
HSLhsl(292, 60%, 33%)
HSVhsv(292, 75%, 53%)
CMYKcmyk(9.7%, 74.6%, 0%, 47.5%)
CIE-LABlab(31.65, 50.63, -37.33)
CIE-LCHlch(31.65, 62.91, 323.60°)
OKLaboklab(43.3% 0.1342 -0.1043)
OKLCHoklch(43.3% 0.17 322.1)
XYZxyz(12.7598, 6.9310, 23.2153)
Luminance0.0693 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792286 #2F8622
analogous
#472286 #792286 #862261
triadic
#792286 #867922 #228679
tetradic
#792286 #864722 #2F8622 #226186
square
#792286 #864722 #2F8622 #226186
split-complementary
#792286 #618622 #228647
monochromatic
#210924 #4D1655 #792286 #A52EB7 #C250D3

Accessibility & contrast

On white

8.80
#792286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#792286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792286
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792286#FFFFFF#000000##FFFFFF
##7922861.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#304E84
Tritanopia (blue-blind)
#7A3552
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #792286;
/* rgb */ color: rgb(121, 34, 134);
/* oklch */ color: oklch(43.3% 0.170 322.1);
Tailwind
colors: {
  custom: {
    50: '#a367aa',
    500: '#792286',
    950: '#000000',
  },
}
SCSS
$custom: #792286;
$custom-light: #a367aa;
$custom-dark: #000000;
JSON
{
  "hex": "#792286",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 292.2,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43295,
    "c": 0.16999,
    "h": 322.1
  },
  "luminance": 0.0693
}

Semantic roles & 50–950 ramp

primary
#792286
secondary
#5BB64E
accent
#E3455A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #792286

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

Preview Lab → · Contrast checker → · Palette generator →

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