#733798#733798

#733798 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.1% C 0.157 H 310.1°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#733798
RGBrgb(115, 55, 152)
HSLhsl(277, 47%, 41%)
HSVhsv(277, 64%, 60%)
CMYKcmyk(24.3%, 63.8%, 0%, 40.4%)
CIE-LABlab(35.29, 43.62, -42.61)
CIE-LCHlch(35.29, 60.98, 315.67°)
OKLaboklab(46.1% 0.1013 -0.1201)
OKLCHoklch(46.1% 0.157 310.1)
XYZxyz(14.1028, 8.6445, 30.6253)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#733798 #5C9837
analogous
#423798 #733798 #98378C
triadic
#733798 #987337 #379873
tetradic
#733798 #984237 #5C9837 #378C98
square
#733798 #984237 #5C9837 #378C98
split-complementary
#733798 #8C9837 #379842
monochromatic
#2F163E #51276B #733798 #944DBF #AF7ACF

Accessibility & contrast

On white

7.70
#733798 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#733798 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #733798
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##733798#FFFFFF#000000##FFFFFF
##7337981.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07509B
Deuteranopia (green-blind)
#2B5496
Tritanopia (blue-blind)
#6E4A62
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #733798;
/* rgb */ color: rgb(115, 55, 152);
/* oklch */ color: oklch(46.1% 0.157 310.1);
Tailwind
colors: {
  custom: {
    50: '#9e72b7',
    500: '#733798',
    950: '#000000',
  },
}
SCSS
$custom: #733798;
$custom-light: #9e72b7;
$custom-dark: #000000;
JSON
{
  "hex": "#733798",
  "rgb": {
    "r": 115,
    "g": 55,
    "b": 152
  },
  "hsl": {
    "h": 277.113,
    "s": 46.86,
    "l": 40.588
  },
  "oklch": {
    "l": 0.461,
    "c": 0.15711,
    "h": 310.1
  },
  "luminance": 0.08644
}

Semantic roles & 50–950 ramp

primary
#733798
secondary
#8DB873
accent
#D65184
background
#FAF7FB
surface
#F3EDF6
border
#CDC8D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #733798

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

Preview Lab → · Contrast checker → · Palette generator →

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