#533398#533398

#533398 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.8% C 0.157 H 293.0°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#533398
RGBrgb(83, 51, 152)
HSLhsl(259, 50%, 40%)
HSVhsv(259, 66%, 60%)
CMYKcmyk(45.4%, 66.4%, 0%, 40.4%)
CIE-LABlab(30.58, 38.52, -50.41)
CIE-LCHlch(30.58, 63.44, 307.38°)
OKLaboklab(41.82% 0.0611 -0.1441)
OKLCHoklch(41.82% 0.157 293)
XYZxyz(10.4170, 6.4733, 30.4003)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#533398 #789833
analogous
#334598 #533398 #863398
triadic
#533398 #985333 #339853
tetradic
#533398 #983345 #789833 #339886
square
#533398 #983345 #789833 #339886
split-complementary
#533398 #988633 #459833
monochromatic
#21143C #3A246A #533398 #6E47C1 #9275D1

Accessibility & contrast

On white

9.15
#533398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#533398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #533398
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##533398#FFFFFF#000000##FFFFFF
##5333981.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499B
Deuteranopia (green-blind)
#004696
Tritanopia (blue-blind)
#3F4B61
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #533398;
/* rgb */ color: rgb(83, 51, 152);
/* oklch */ color: oklch(41.8% 0.157 293.0);
Tailwind
colors: {
  custom: {
    50: '#896db7',
    500: '#533398',
    950: '#000000',
  },
}
SCSS
$custom: #533398;
$custom-light: #896db7;
$custom-dark: #000000;
JSON
{
  "hex": "#533398",
  "rgb": {
    "r": 83,
    "g": 51,
    "b": 152
  },
  "hsl": {
    "h": 259.01,
    "s": 49.754,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41818,
    "c": 0.15653,
    "h": 293
  },
  "luminance": 0.06474
}

Semantic roles & 50–950 ramp

primary
#533398
secondary
#A1B96E
accent
#D94FAD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #533398

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

Preview Lab → · Contrast checker → · Palette generator →

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