#533771#533771

#533771 is a dark, moderate violet. Relative luminance 0.058; OKLCH L 39.7% C 0.099 H 304.6°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#533771
RGBrgb(83, 55, 113)
HSLhsl(269, 35%, 33%)
HSVhsv(269, 51%, 44%)
CMYKcmyk(26.5%, 51.3%, 0%, 55.7%)
CIE-LABlab(28.81, 25.19, -28.97)
CIE-LCHlch(28.81, 38.39, 311.01°)
OKLaboklab(39.67% 0.056 -0.0812)
OKLCHoklch(39.67% 0.099 304.6)
XYZxyz(7.9135, 5.7637, 16.3152)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#533771 #557137
analogous
#373871 #533771 #703771
triadic
#533771 #715337 #377153
tetradic
#533771 #713738 #557137 #377170
square
#533771 #713738 #557137 #377170
split-complementary
#533771 #717037 #387137
monochromatic
#170F1F #352348 #533771 #714B9A #906BB7

Accessibility & contrast

On white

9.75
#533771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#533771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #533771
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##533771#FFFFFF#000000##FFFFFF
##5337711.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264373
Deuteranopia (green-blind)
#2E4470
Tritanopia (blue-blind)
#4E414E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #533771;
/* rgb */ color: rgb(83, 55, 113);
/* oklch */ color: oklch(39.7% 0.099 304.6);
Tailwind
colors: {
  custom: {
    50: '#856e9a',
    500: '#533771',
    950: '#000000',
  },
}
SCSS
$custom: #533771;
$custom-light: #856e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#533771",
  "rgb": {
    "r": 83,
    "g": 55,
    "b": 113
  },
  "hsl": {
    "h": 268.966,
    "s": 34.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39666,
    "c": 0.09866,
    "h": 304.6
  },
  "luminance": 0.05764
}

Semantic roles & 50–950 ramp

primary
#533771
secondary
#83A064
accent
#CB5D96
background
#F8F6F9
surface
#EFECF2
border
#CAC7CC
text
#0B070E
muted
#7C7A7E

Preview Lab

Preview with #533771

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

Preview Lab → · Contrast checker → · Palette generator →

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