#792391#792391

#792391 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.1% C 0.179 H 317.7°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#792391
RGBrgb(121, 35, 145)
HSLhsl(287, 61%, 35%)
HSVhsv(287, 76%, 57%)
CMYKcmyk(16.6%, 75.9%, 0%, 43.1%)
CIE-LABlab(32.51, 52.41, -42.75)
CIE-LCHlch(32.51, 67.64, 320.80°)
OKLaboklab(44.14% 0.1322 -0.1202)
OKLCHoklch(44.14% 0.179 317.7)
XYZxyz(13.5963, 7.3120, 27.4777)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792391 #3B9123
analogous
#422391 #792391 #912372
triadic
#792391 #917923 #239179
tetradic
#792391 #914223 #3B9123 #237291
square
#792391 #914223 #3B9123 #237291
split-complementary
#792391 #729123 #239142
monochromatic
#270B2E #501760 #792391 #A22FC2 #BB58D7

Accessibility & contrast

On white

8.53
#792391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#792391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792391
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792391#FFFFFF#000000##FFFFFF
##7923911.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004794
Deuteranopia (green-blind)
#274F8F
Tritanopia (blue-blind)
#783A58
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #792391;
/* rgb */ color: rgb(121, 35, 145);
/* oklch */ color: oklch(44.1% 0.179 317.7);
Tailwind
colors: {
  custom: {
    50: '#a367b2',
    500: '#792391',
    950: '#000000',
  },
}
SCSS
$custom: #792391;
$custom-light: #a367b2;
$custom-dark: #000000;
JSON
{
  "hex": "#792391",
  "rgb": {
    "r": 121,
    "g": 35,
    "b": 145
  },
  "hsl": {
    "h": 286.909,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44138,
    "c": 0.17871,
    "h": 317.7
  },
  "luminance": 0.07311
}

Semantic roles & 50–950 ramp

primary
#792391
secondary
#6BBB55
accent
#E44467
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #792391

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

Preview Lab → · Contrast checker → · Palette generator →

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