#792281#792281

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

Color values

HEX#792281
RGBrgb(121, 34, 129)
HSLhsl(295, 58%, 32%)
HSVhsv(295, 74%, 51%)
CMYKcmyk(6.2%, 73.6%, 0%, 49.4%)
CIE-LABlab(31.34, 49.69, -34.71)
CIE-LCHlch(31.34, 60.61, 325.06°)
OKLaboklab(42.97% 0.1344 -0.0967)
OKLCHoklch(42.97% 0.166 324.3)
XYZxyz(12.4193, 6.7948, 21.4220)
Luminance0.0679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792281 #2A8122
analogous
#492281 #792281 #81225A
triadic
#792281 #817922 #228179
tetradic
#792281 #814922 #2A8122 #225A81
square
#792281 #814922 #2A8122 #225A81
split-complementary
#792281 #5A8122 #228149
monochromatic
#1E0820 #4C1551 #792281 #A62FB1 #C54DD0

Accessibility & contrast

On white

8.90
#792281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792281
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792281#FFFFFF#000000##FFFFFF
##7922811.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034384
Deuteranopia (green-blind)
#344D7F
Tritanopia (blue-blind)
#7B324F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #792281;
/* rgb */ color: rgb(121, 34, 129);
/* oklch */ color: oklch(43.0% 0.166 324.3);
Tailwind
colors: {
  custom: {
    50: '#a366a6',
    500: '#792281',
    950: '#000000',
  },
}
SCSS
$custom: #792281;
$custom-light: #a366a6;
$custom-dark: #000000;
JSON
{
  "hex": "#792281",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 129
  },
  "hsl": {
    "h": 294.947,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4297,
    "c": 0.1656,
    "h": 324.3
  },
  "luminance": 0.06794
}

Semantic roles & 50–950 ramp

primary
#792281
secondary
#54B34B
accent
#E14653
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #792281

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

Preview Lab → · Contrast checker → · Palette generator →

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