#533794#533794

#533794 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.1% C 0.146 H 292.9°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#533794
RGBrgb(83, 55, 148)
HSLhsl(258, 46%, 40%)
HSVhsv(258, 63%, 58%)
CMYKcmyk(43.9%, 62.8%, 0%, 42%)
CIE-LABlab(31.14, 35.03, -47.06)
CIE-LCHlch(31.14, 58.67, 306.66°)
OKLaboklab(42.13% 0.0569 -0.1343)
OKLCHoklch(42.13% 0.146 292.9)
XYZxyz(10.2773, 6.7092, 28.7647)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#533794 #789437
analogous
#374994 #533794 #823794
triadic
#533794 #945337 #379453
tetradic
#533794 #943749 #789437 #379482
square
#533794 #943749 #789437 #379482
split-complementary
#533794 #948237 #499437
monochromatic
#21163B #3A2667 #533794 #6E4CBC #9278CD

Accessibility & contrast

On white

8.97
#533794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#533794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #533794
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##533794#FFFFFF#000000##FFFFFF
##5337941.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A97
Deuteranopia (green-blind)
#004892
Tritanopia (blue-blind)
#414C60
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #533794;
/* rgb */ color: rgb(83, 55, 148);
/* oklch */ color: oklch(42.1% 0.146 292.9);
Tailwind
colors: {
  custom: {
    50: '#886fb4',
    500: '#533794',
    950: '#000000',
  },
}
SCSS
$custom: #533794;
$custom-light: #886fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#533794",
  "rgb": {
    "r": 83,
    "g": 55,
    "b": 148
  },
  "hsl": {
    "h": 258.065,
    "s": 45.813,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42127,
    "c": 0.14582,
    "h": 292.9
  },
  "luminance": 0.06709
}

Semantic roles & 50–950 ramp

primary
#533794
secondary
#A1B671
accent
#D552AE
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #533794

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

Preview Lab → · Contrast checker → · Palette generator →

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