#533271#533271

#533271 is a dark, moderate violet. Relative luminance 0.053; OKLCH L 38.8% C 0.108 H 306.2°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#533271
RGBrgb(83, 50, 113)
HSLhsl(271, 39%, 32%)
HSVhsv(271, 56%, 44%)
CMYKcmyk(26.5%, 55.8%, 0%, 55.7%)
CIE-LABlab(27.61, 28.27, -30.88)
CIE-LCHlch(27.61, 41.87, 312.48°)
OKLaboklab(38.78% 0.0635 -0.0868)
OKLCHoklch(38.78% 0.108 306.2)
XYZxyz(7.6879, 5.3125, 16.2400)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#533271 #507132
analogous
#343271 #533271 #713270
triadic
#533271 #715332 #327153
tetradic
#533271 #713432 #507132 #327071
square
#533271 #713432 #507132 #327071
split-complementary
#533271 #707132 #327134
monochromatic
#150C1C #341F47 #533271 #72459B #9163BA

Accessibility & contrast

On white

10.18
#533271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#533271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #533271
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##533271#FFFFFF#000000##FFFFFF
##5332711.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4073
Deuteranopia (green-blind)
#28416F
Tritanopia (blue-blind)
#4E3D4C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #533271;
/* rgb */ color: rgb(83, 50, 113);
/* oklch */ color: oklch(38.8% 0.108 306.2);
Tailwind
colors: {
  custom: {
    50: '#856b9a',
    500: '#533271',
    950: '#000000',
  },
}
SCSS
$custom: #533271;
$custom-light: #856b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#533271",
  "rgb": {
    "r": 83,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 271.429,
    "s": 38.65,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38775,
    "c": 0.10754,
    "h": 306.2
  },
  "luminance": 0.05312
}

Semantic roles & 50–950 ramp

primary
#533271
secondary
#7EA25D
accent
#CF5991
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B070E
muted
#7C7A7E

Preview Lab

Preview with #533271

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

Preview Lab → · Contrast checker → · Palette generator →

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