#792492#792492

#792492 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.3% C 0.178 H 317.3°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#792492
RGBrgb(121, 36, 146)
HSLhsl(286, 60%, 36%)
HSVhsv(286, 75%, 57%)
CMYKcmyk(17.1%, 75.3%, 0%, 42.7%)
CIE-LABlab(32.71, 52.24, -43.05)
CIE-LCHlch(32.71, 67.69, 320.51°)
OKLaboklab(44.3% 0.1311 -0.1211)
OKLCHoklch(44.3% 0.178 317.3)
XYZxyz(13.7036, 7.4026, 27.8956)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792492 #3D9224
analogous
#422492 #792492 #922474
triadic
#792492 #927924 #249279
tetradic
#792492 #924224 #3D9224 #247492
square
#792492 #924224 #3D9224 #247492
split-complementary
#792492 #749224 #249242
monochromatic
#280C30 #501861 #792492 #A230C3 #BA5AD6

Accessibility & contrast

On white

8.47
#792492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#792492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792492
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792492#FFFFFF#000000##FFFFFF
##7924921.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004895
Deuteranopia (green-blind)
#274F90
Tritanopia (blue-blind)
#783B59
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #792492;
/* rgb */ color: rgb(121, 36, 146);
/* oklch */ color: oklch(44.3% 0.178 317.3);
Tailwind
colors: {
  custom: {
    50: '#a368b3',
    500: '#792492',
    950: '#000000',
  },
}
SCSS
$custom: #792492;
$custom-light: #a368b3;
$custom-dark: #000000;
JSON
{
  "hex": "#792492",
  "rgb": {
    "r": 121,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 286.364,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44301,
    "c": 0.17849,
    "h": 317.3
  },
  "luminance": 0.07402
}

Semantic roles & 50–950 ramp

primary
#792492
secondary
#6EBB57
accent
#E44468
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #792492

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

Preview Lab → · Contrast checker → · Palette generator →

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