#733797#733797

#733797 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.0% C 0.156 H 310.5°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#733797
RGBrgb(115, 55, 151)
HSLhsl(278, 47%, 40%)
HSVhsv(278, 64%, 59%)
CMYKcmyk(23.8%, 63.6%, 0%, 40.8%)
CIE-LABlab(35.23, 43.39, -42.10)
CIE-LCHlch(35.23, 60.46, 315.86°)
OKLaboklab(46.03% 0.1013 -0.1186)
OKLCHoklch(46.03% 0.156 310.5)
XYZxyz(14.0213, 8.6119, 30.1958)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#733797 #5B9737
analogous
#433797 #733797 #97378B
triadic
#733797 #977337 #379773
tetradic
#733797 #974337 #5B9737 #378B97
square
#733797 #974337 #5B9737 #378B97
split-complementary
#733797 #8B9737 #379743
monochromatic
#2F163D #51276A #733797 #944DBE #AF7ACF

Accessibility & contrast

On white

7.71
#733797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#733797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #733797
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##733797#FFFFFF#000000##FFFFFF
##7337971.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A509A
Deuteranopia (green-blind)
#2C5495
Tritanopia (blue-blind)
#6E4A62
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #733797;
/* rgb */ color: rgb(115, 55, 151);
/* oklch */ color: oklch(46.0% 0.156 310.5);
Tailwind
colors: {
  custom: {
    50: '#9e71b6',
    500: '#733797',
    950: '#000000',
  },
}
SCSS
$custom: #733797;
$custom-light: #9e71b6;
$custom-dark: #000000;
JSON
{
  "hex": "#733797",
  "rgb": {
    "r": 115,
    "g": 55,
    "b": 151
  },
  "hsl": {
    "h": 277.5,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46032,
    "c": 0.156,
    "h": 310.5
  },
  "luminance": 0.08612
}

Semantic roles & 50–950 ramp

primary
#733797
secondary
#8CB872
accent
#D65283
background
#FAF7FB
surface
#F3EDF6
border
#CDC8D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #733797

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

Preview Lab → · Contrast checker → · Palette generator →

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