#533478#533478

#533478 is a dark, moderate violet. Relative luminance 0.057; OKLCH L 39.6% C 0.113 H 302.6°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#533478
RGBrgb(83, 52, 120)
HSLhsl(267, 40%, 34%)
HSVhsv(267, 57%, 47%)
CMYKcmyk(30.8%, 56.7%, 0%, 52.9%)
CIE-LABlab(28.51, 28.92, -33.87)
CIE-LCHlch(28.51, 44.54, 310.49°)
OKLaboklab(39.59% 0.0611 -0.0955)
OKLCHoklch(39.59% 0.113 302.6)
XYZxyz(8.1847, 5.6510, 18.4252)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#533478 #597834
analogous
#343778 #533478 #753478
triadic
#533478 #785334 #347853
tetradic
#533478 #783437 #597834 #347875
square
#533478 #783437 #597834 #347875
split-complementary
#533478 #787534 #377834
monochromatic
#180F23 #35214D #533478 #7147A3 #8F69BE

Accessibility & contrast

On white

9.86
#533478 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#533478 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #533478
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##533478#FFFFFF#000000##FFFFFF
##5334781.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B437A
Deuteranopia (green-blind)
#254376
Tritanopia (blue-blind)
#4C4150
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #533478;
/* rgb */ color: rgb(83, 52, 120);
/* oklch */ color: oklch(39.6% 0.113 302.6);
Tailwind
colors: {
  custom: {
    50: '#866c9f',
    500: '#533478',
    950: '#000000',
  },
}
SCSS
$custom: #533478;
$custom-light: #866c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#533478",
  "rgb": {
    "r": 83,
    "g": 52,
    "b": 120
  },
  "hsl": {
    "h": 267.353,
    "s": 39.535,
    "l": 33.725
  },
  "oklch": {
    "l": 0.39587,
    "c": 0.11339,
    "h": 302.6
  },
  "luminance": 0.05651
}

Semantic roles & 50–950 ramp

primary
#533478
secondary
#87A662
accent
#CF5899
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B070E
muted
#7C7A7E

Preview Lab

Preview with #533478

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

Preview Lab → · Contrast checker → · Palette generator →

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