#533181#533181

#533181 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.7% C 0.130 H 300.1°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#533181
RGBrgb(83, 49, 129)
HSLhsl(266, 45%, 35%)
HSVhsv(266, 62%, 51%)
CMYKcmyk(35.7%, 62%, 0%, 49.4%)
CIE-LABlab(28.43, 33.18, -39.66)
CIE-LCHlch(28.43, 51.71, 309.91°)
OKLaboklab(39.72% 0.0653 -0.1125)
OKLCHoklch(39.72% 0.13 300.1)
XYZxyz(8.6271, 5.6205, 21.3950)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#533181 #5F8131
analogous
#313781 #533181 #7B3181
triadic
#533181 #815331 #318153
tetradic
#533181 #813137 #5F8131 #31817B
square
#533181 #813137 #5F8131 #31817B
split-complementary
#533181 #817B31 #378131
monochromatic
#1A0F28 #362055 #533181 #7042AD #8F67C5

Accessibility & contrast

On white

9.89
#533181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#533181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #533181
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##533181#FFFFFF#000000##FFFFFF
##5331811.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024384
Deuteranopia (green-blind)
#16427F
Tritanopia (blue-blind)
#494254
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #533181;
/* rgb */ color: rgb(83, 49, 129);
/* oklch */ color: oklch(39.7% 0.130 300.1);
Tailwind
colors: {
  custom: {
    50: '#876ba6',
    500: '#533181',
    950: '#000000',
  },
}
SCSS
$custom: #533181;
$custom-light: #876ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#533181",
  "rgb": {
    "r": 83,
    "g": 49,
    "b": 129
  },
  "hsl": {
    "h": 265.5,
    "s": 44.944,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39721,
    "c": 0.13007,
    "h": 300.1
  },
  "luminance": 0.05621
}

Semantic roles & 50–950 ramp

primary
#533181
secondary
#8DAD61
accent
#D5539E
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #533181

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

Preview Lab → · Contrast checker → · Palette generator →

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