#533798#533798

#533798 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.4% C 0.151 H 292.0°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#533798
RGBrgb(83, 55, 152)
HSLhsl(257, 47%, 41%)
HSVhsv(257, 64%, 60%)
CMYKcmyk(45.4%, 63.8%, 0%, 40.4%)
CIE-LABlab(31.44, 36.21, -49.02)
CIE-LCHlch(31.44, 60.94, 306.45°)
OKLaboklab(42.44% 0.0566 -0.14)
OKLCHoklch(42.44% 0.151 292)
XYZxyz(10.5994, 6.8380, 30.4611)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#533798 #7C9837
analogous
#374B98 #533798 #833798
triadic
#533798 #985337 #379853
tetradic
#533798 #98374B #7C9837 #379883
square
#533798 #98374B #7C9837 #379883
split-complementary
#533798 #988337 #4B9837
monochromatic
#22163E #3A276B #533798 #6E4DBF #937ACF

Accessibility & contrast

On white

8.87
#533798 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#533798 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #533798
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##533798#FFFFFF#000000##FFFFFF
##5337981.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9B
Deuteranopia (green-blind)
#004896
Tritanopia (blue-blind)
#3F4D62
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #533798;
/* rgb */ color: rgb(83, 55, 152);
/* oklch */ color: oklch(42.4% 0.151 292.0);
Tailwind
colors: {
  custom: {
    50: '#896fb7',
    500: '#533798',
    950: '#000000',
  },
}
SCSS
$custom: #533798;
$custom-light: #896fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#533798",
  "rgb": {
    "r": 83,
    "g": 55,
    "b": 152
  },
  "hsl": {
    "h": 257.32,
    "s": 46.86,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4244,
    "c": 0.15103,
    "h": 292
  },
  "luminance": 0.06838
}

Semantic roles & 50–950 ramp

primary
#533798
secondary
#A4B873
accent
#D651B0
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #533798

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

Preview Lab → · Contrast checker → · Palette generator →

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