#792291#792291

#792291 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.0% C 0.180 H 317.8°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#792291
RGBrgb(121, 34, 145)
HSLhsl(287, 62%, 35%)
HSVhsv(287, 77%, 57%)
CMYKcmyk(16.6%, 76.6%, 0%, 43.1%)
CIE-LABlab(32.38, 52.78, -42.96)
CIE-LCHlch(32.38, 68.06, 320.86°)
OKLaboklab(44.05% 0.1332 -0.1208)
OKLCHoklch(44.05% 0.18 317.8)
XYZxyz(13.5673, 7.2539, 27.4681)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792291 #3A9122
analogous
#412291 #792291 #912271
triadic
#792291 #917922 #229179
tetradic
#792291 #914122 #3A9122 #227191
square
#792291 #914122 #3A9122 #227191
split-complementary
#792291 #719122 #229141
monochromatic
#260B2E #50165F #792291 #A22EC3 #BB56D7

Accessibility & contrast

On white

8.57
#792291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#792291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792291
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792291#FFFFFF#000000##FFFFFF
##7922911.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #792291;
/* rgb */ color: rgb(121, 34, 145);
/* oklch */ color: oklch(44.0% 0.180 317.8);
Tailwind
colors: {
  custom: {
    50: '#a367b2',
    500: '#792291',
    950: '#000000',
  },
}
SCSS
$custom: #792291;
$custom-light: #a367b2;
$custom-dark: #000000;
JSON
{
  "hex": "#792291",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 287.027,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44046,
    "c": 0.17981,
    "h": 317.8
  },
  "luminance": 0.07253
}

Semantic roles & 50–950 ramp

primary
#792291
secondary
#6ABB53
accent
#E54366
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #792291

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

Preview Lab → · Contrast checker → · Palette generator →

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