#531855#531855

#531855 is a dark, moderate purple. Relative luminance 0.031; OKLCH L 33.1% C 0.119 H 326.5°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#531855
RGBrgb(83, 24, 85)
HSLhsl(298, 56%, 21%)
HSVhsv(298, 72%, 33%)
CMYKcmyk(2.4%, 71.8%, 0%, 66.7%)
CIE-LABlab(20.63, 35.90, -23.67)
CIE-LCHlch(20.63, 43.00, 326.60°)
OKLaboklab(33.12% 0.0991 -0.0656)
OKLCHoklch(33.12% 0.119 326.5)
XYZxyz(5.5335, 3.1485, 8.9088)
Luminance0.0315 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531855 #1A5518
analogous
#351855 #531855 #551839
triadic
#531855 #555318 #185553
tetradic
#531855 #553518 #1A5518 #183955
square
#531855 #553518 #1A5518 #183955
split-complementary
#531855 #395518 #185535
monochromatic
#170718 #240B25 #531855 #822585 #B033B4

Accessibility & contrast

On white

12.89
#531855 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#531855 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531855
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531855#FFFFFF#000000##FFFFFF
##5318551.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2D57
Deuteranopia (green-blind)
#253453
Tritanopia (blue-blind)
#552134
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #531855;
/* rgb */ color: rgb(83, 24, 85);
/* oklch */ color: oklch(33.1% 0.119 326.5);
Tailwind
colors: {
  custom: {
    50: '#865b85',
    500: '#531855',
    950: '#000000',
  },
}
SCSS
$custom: #531855;
$custom-light: #865b85;
$custom-dark: #000000;
JSON
{
  "hex": "#531855",
  "rgb": {
    "r": 83,
    "g": 24,
    "b": 85
  },
  "hsl": {
    "h": 298.033,
    "s": 55.963,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33119,
    "c": 0.11881,
    "h": 326.5
  },
  "luminance": 0.03148
}

Semantic roles & 50–950 ramp

primary
#531855
secondary
#408C3D
accent
#DF494D
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #531855

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

Preview Lab → · Contrast checker → · Palette generator →

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