#533178#533178

#533178 is a dark, moderate violet. Relative luminance 0.054; OKLCH L 39.1% C 0.118 H 303.5°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#533178
RGBrgb(83, 49, 120)
HSLhsl(269, 42%, 33%)
HSVhsv(269, 59%, 47%)
CMYKcmyk(30.8%, 59.2%, 0%, 52.9%)
CIE-LABlab(27.82, 30.73, -34.98)
CIE-LCHlch(27.82, 46.56, 311.30°)
OKLaboklab(39.08% 0.0653 -0.0988)
OKLCHoklch(39.08% 0.118 303.5)
XYZxyz(8.0550, 5.3917, 18.3820)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#533178 #567831
analogous
#313278 #533178 #763178
triadic
#533178 #785331 #317853
tetradic
#533178 #783132 #567831 #317876
square
#533178 #783132 #567831 #317876
split-complementary
#533178 #787631 #327831
monochromatic
#170E21 #351F4D #533178 #7143A3 #9064C0

Accessibility & contrast

On white

10.10
#533178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#533178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #533178
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##533178#FFFFFF#000000##FFFFFF
##5331781.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14417A
Deuteranopia (green-blind)
#214276
Tritanopia (blue-blind)
#4C3F4F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #533178;
/* rgb */ color: rgb(83, 49, 120);
/* oklch */ color: oklch(39.1% 0.118 303.5);
Tailwind
colors: {
  custom: {
    50: '#866a9f',
    500: '#533178',
    950: '#000000',
  },
}
SCSS
$custom: #533178;
$custom-light: #866a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#533178",
  "rgb": {
    "r": 83,
    "g": 49,
    "b": 120
  },
  "hsl": {
    "h": 268.732,
    "s": 42.012,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39078,
    "c": 0.1184,
    "h": 303.5
  },
  "luminance": 0.05392
}

Semantic roles & 50–950 ramp

primary
#533178
secondary
#84A75E
accent
#D25697
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #533178

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

Preview Lab → · Contrast checker → · Palette generator →

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