#531257#531257

#531257 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.6% C 0.129 H 325.5°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#531257
RGBrgb(83, 18, 87)
HSLhsl(297, 66%, 21%)
HSVhsv(297, 79%, 34%)
CMYKcmyk(4.6%, 79.3%, 0%, 65.9%)
CIE-LABlab(19.88, 38.77, -26.20)
CIE-LCHlch(19.88, 46.79, 325.95°)
OKLaboklab(32.63% 0.106 -0.0729)
OKLCHoklch(32.63% 0.129 325.5)
XYZxyz(5.5038, 2.9601, 9.2964)
Luminance0.0296 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531257 #165712
analogous
#301257 #531257 #571238
triadic
#531257 #575312 #125753
tetradic
#531257 #573012 #165712 #123857
square
#531257 #573012 #165712 #123857
split-complementary
#531257 #385712 #125730
monochromatic
#180519 #230824 #531257 #831C8A #B427BC

Accessibility & contrast

On white

13.19
#531257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#531257 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531257
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531257#FFFFFF#000000##FFFFFF
##5312571.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B59
Deuteranopia (green-blind)
#213355
Tritanopia (blue-blind)
#551E33
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #531257;
/* rgb */ color: rgb(83, 18, 87);
/* oklch */ color: oklch(32.6% 0.129 325.5);
Tailwind
colors: {
  custom: {
    50: '#865887',
    500: '#531257',
    950: '#000000',
  },
}
SCSS
$custom: #531257;
$custom-light: #865887;
$custom-dark: #000000;
JSON
{
  "hex": "#531257",
  "rgb": {
    "r": 83,
    "g": 18,
    "b": 87
  },
  "hsl": {
    "h": 296.522,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32625,
    "c": 0.12861,
    "h": 325.5
  },
  "luminance": 0.0296
}

Semantic roles & 50–950 ramp

primary
#531257
secondary
#3A9035
accent
#E93F49
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #531257

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

Preview Lab → · Contrast checker → · Palette generator →

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