#793274#793274

#793274 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.1% C 0.131 H 330.3°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#793274
RGBrgb(121, 50, 116)
HSLhsl(304, 42%, 34%)
HSVhsv(304, 59%, 47%)
CMYKcmyk(0%, 58.7%, 4.1%, 52.5%)
CIE-LABlab(33.15, 40.20, -23.68)
CIE-LCHlch(33.15, 46.66, 329.51°)
OKLaboklab(44.05% 0.1138 -0.0649)
OKLCHoklch(44.05% 0.131 330.3)
XYZxyz(12.1781, 7.6079, 17.3467)
Luminance0.0761 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793274 #327937
analogous
#5A3279 #793274 #793250
triadic
#793274 #747932 #327479
tetradic
#793274 #795A32 #327937 #325079
square
#793274 #795A32 #327937 #325079
split-complementary
#793274 #507932 #32795A
monochromatic
#220E21 #4E204A #793274 #A4449E #C066B9

Accessibility & contrast

On white

8.33
#793274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#793274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #793274
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793274#FFFFFF#000000##FFFFFF
##7932741.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4876
Deuteranopia (green-blind)
#445172
Tritanopia (blue-blind)
#7D394E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #793274;
/* rgb */ color: rgb(121, 50, 116);
/* oklch */ color: oklch(44.1% 0.131 330.3);
Tailwind
colors: {
  custom: {
    50: '#a26e9c',
    500: '#793274',
    950: '#000000',
  },
}
SCSS
$custom: #793274;
$custom-light: #a26e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#793274",
  "rgb": {
    "r": 121,
    "g": 50,
    "b": 116
  },
  "hsl": {
    "h": 304.225,
    "s": 41.52,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44052,
    "c": 0.13102,
    "h": 330.3
  },
  "luminance": 0.07607
}

Semantic roles & 50–950 ramp

primary
#793274
secondary
#5FA765
accent
#D15F56
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #793274

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

Preview Lab → · Contrast checker → · Palette generator →

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