#792285#792285

#792285 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.2% C 0.169 H 322.6°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#792285
RGBrgb(121, 34, 133)
HSLhsl(293, 59%, 33%)
HSVhsv(293, 74%, 52%)
CMYKcmyk(9%, 74.4%, 0%, 47.8%)
CIE-LABlab(31.59, 50.44, -36.81)
CIE-LCHlch(31.59, 62.44, 323.88°)
OKLaboklab(43.23% 0.1343 -0.1028)
OKLCHoklch(43.23% 0.169 322.6)
XYZxyz(12.6904, 6.9032, 22.8498)
Luminance0.0690 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792285 #2E8522
analogous
#472285 #792285 #852260
triadic
#792285 #857922 #228579
tetradic
#792285 #854722 #2E8522 #226085
square
#792285 #854722 #2E8522 #226085
split-complementary
#792285 #608522 #228547
monochromatic
#200924 #4D1654 #792285 #A52EB6 #C24FD2

Accessibility & contrast

On white

8.82
#792285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#792285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792285
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792285#FFFFFF#000000##FFFFFF
##7922851.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004488
Deuteranopia (green-blind)
#314E83
Tritanopia (blue-blind)
#7B3451
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #792285;
/* rgb */ color: rgb(121, 34, 133);
/* oklch */ color: oklch(43.2% 0.169 322.6);
Tailwind
colors: {
  custom: {
    50: '#a366a9',
    500: '#792285',
    950: '#000000',
  },
}
SCSS
$custom: #792285;
$custom-light: #a366a9;
$custom-dark: #000000;
JSON
{
  "hex": "#792285",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 292.727,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43229,
    "c": 0.1691,
    "h": 322.6
  },
  "luminance": 0.06902
}

Semantic roles & 50–950 ramp

primary
#792285
secondary
#5AB64D
accent
#E24558
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #792285

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

Preview Lab → · Contrast checker → · Palette generator →

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