#533797#533797

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

Color values

HEX#533797
RGBrgb(83, 55, 151)
HSLhsl(258, 47%, 40%)
HSVhsv(258, 64%, 59%)
CMYKcmyk(45%, 63.6%, 0%, 40.8%)
CIE-LABlab(31.36, 35.91, -48.53)
CIE-LCHlch(31.36, 60.37, 306.50°)
OKLaboklab(42.36% 0.0566 -0.1386)
OKLCHoklch(42.36% 0.15 292.2)
XYZxyz(10.5178, 6.8054, 30.0316)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#533797 #7B9737
analogous
#374B97 #533797 #833797
triadic
#533797 #975337 #379753
tetradic
#533797 #97374B #7B9737 #379783
square
#533797 #97374B #7B9737 #379783
split-complementary
#533797 #978337 #4B9737
monochromatic
#22163D #3A276A #533797 #6E4DBE #937ACF

Accessibility & contrast

On white

8.89
#533797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#533797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #533797
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##533797#FFFFFF#000000##FFFFFF
##5337971.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #533797;
/* rgb */ color: rgb(83, 55, 151);
/* oklch */ color: oklch(42.4% 0.150 292.2);
Tailwind
colors: {
  custom: {
    50: '#896fb6',
    500: '#533797',
    950: '#000000',
  },
}
SCSS
$custom: #533797;
$custom-light: #896fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#533797",
  "rgb": {
    "r": 83,
    "g": 55,
    "b": 151
  },
  "hsl": {
    "h": 257.5,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42361,
    "c": 0.14973,
    "h": 292.2
  },
  "luminance": 0.06806
}

Semantic roles & 50–950 ramp

primary
#533797
secondary
#A3B872
accent
#D652B0
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #533797

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

Preview Lab → · Contrast checker → · Palette generator →

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