#533170#533170

#533170 is a dark, moderate violet. Relative luminance 0.052; OKLCH L 38.5% C 0.108 H 307.0°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#533170
RGBrgb(83, 49, 112)
HSLhsl(272, 39%, 32%)
HSVhsv(272, 56%, 44%)
CMYKcmyk(25.9%, 56.3%, 0%, 56.1%)
CIE-LABlab(27.31, 28.62, -30.71)
CIE-LCHlch(27.31, 41.98, 312.98°)
OKLaboklab(38.54% 0.0649 -0.0863)
OKLCHoklch(38.54% 0.108 307)
XYZxyz(7.5896, 5.2056, 15.9310)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#533170 #4E7031
analogous
#343170 #533170 #70316E
triadic
#533170 #705331 #317053
tetradic
#533170 #703431 #4E7031 #316E70
square
#533170 #703431 #4E7031 #316E70
split-complementary
#533170 #6E7031 #317034
monochromatic
#140C1B #331E45 #533170 #73449B #9161BA

Accessibility & contrast

On white

10.29
#533170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#533170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #533170
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##533170#FFFFFF#000000##FFFFFF
##5331701.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3F72
Deuteranopia (green-blind)
#28416E
Tritanopia (blue-blind)
#4F3C4B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #533170;
/* rgb */ color: rgb(83, 49, 112);
/* oklch */ color: oklch(38.5% 0.108 307.0);
Tailwind
colors: {
  custom: {
    50: '#856a99',
    500: '#533170',
    950: '#000000',
  },
}
SCSS
$custom: #533170;
$custom-light: #856a99;
$custom-dark: #000000;
JSON
{
  "hex": "#533170",
  "rgb": {
    "r": 83,
    "g": 49,
    "b": 112
  },
  "hsl": {
    "h": 272.381,
    "s": 39.13,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38538,
    "c": 0.10799,
    "h": 307
  },
  "luminance": 0.05205
}

Semantic roles & 50–950 ramp

primary
#533170
secondary
#7CA15C
accent
#CF598F
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #533170

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

Preview Lab → · Contrast checker → · Palette generator →

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