#531155#531155

#531155 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.4% C 0.128 H 326.7°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#531155
RGBrgb(83, 17, 85)
HSLhsl(298, 67%, 20%)
HSVhsv(298, 80%, 33%)
CMYKcmyk(2.4%, 80%, 0%, 66.7%)
CIE-LABlab(19.62, 38.75, -25.27)
CIE-LCHlch(19.62, 46.26, 326.89°)
OKLaboklab(32.4% 0.107 -0.0702)
OKLCHoklch(32.4% 0.128 326.7)
XYZxyz(5.4073, 2.8962, 8.8668)
Luminance0.0290 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531155 #135511
analogous
#311155 #531155 #551135
triadic
#531155 #555311 #115553
tetradic
#531155 #553111 #135511 #113555
square
#531155 #553111 #135511 #113555
split-complementary
#531155 #355511 #115531
monochromatic
#19051A #210722 #531155 #851B88 #B725BB

Accessibility & contrast

On white

13.30
#531155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#531155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531155
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531155#FFFFFF#000000##FFFFFF
##5311551.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022A57
Deuteranopia (green-blind)
#223253
Tritanopia (blue-blind)
#551C32
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #531155;
/* rgb */ color: rgb(83, 17, 85);
/* oklch */ color: oklch(32.4% 0.128 326.7);
Tailwind
colors: {
  custom: {
    50: '#865785',
    500: '#531155',
    950: '#000000',
  },
}
SCSS
$custom: #531155;
$custom-light: #865785;
$custom-dark: #000000;
JSON
{
  "hex": "#531155",
  "rgb": {
    "r": 83,
    "g": 17,
    "b": 85
  },
  "hsl": {
    "h": 298.235,
    "s": 66.667,
    "l": 20
  },
  "oklch": {
    "l": 0.32397,
    "c": 0.128,
    "h": 326.7
  },
  "luminance": 0.02896
}

Semantic roles & 50–950 ramp

primary
#531155
secondary
#368E34
accent
#EA3E43
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #531155

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

Preview Lab → · Contrast checker → · Palette generator →

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