#531957#531957

#531957 is a dark, moderate purple. Relative luminance 0.032; OKLCH L 33.4% C 0.119 H 325.1°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#531957
RGBrgb(83, 25, 87)
HSLhsl(296, 55%, 22%)
HSVhsv(296, 71%, 34%)
CMYKcmyk(4.6%, 71.3%, 0%, 65.9%)
CIE-LABlab(20.91, 35.85, -24.56)
CIE-LCHlch(20.91, 43.46, 325.59°)
OKLaboklab(33.37% 0.0979 -0.0682)
OKLCHoklch(33.37% 0.119 325.1)
XYZxyz(5.6351, 3.2227, 9.3402)
Luminance0.0322 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531957 #1D5719
analogous
#341957 #531957 #57193C
triadic
#531957 #575319 #195753
tetradic
#531957 #573419 #1D5719 #193C57
square
#531957 #573419 #1D5719 #193C57
split-complementary
#531957 #3C5719 #195734
monochromatic
#170718 #260B27 #531957 #802787 #AE34B6

Accessibility & contrast

On white

12.77
#531957 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#531957 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531957
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531957#FFFFFF#000000##FFFFFF
##5319571.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2E59
Deuteranopia (green-blind)
#253555
Tritanopia (blue-blind)
#552235
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #531957;
/* rgb */ color: rgb(83, 25, 87);
/* oklch */ color: oklch(33.4% 0.119 325.1);
Tailwind
colors: {
  custom: {
    50: '#865b87',
    500: '#531957',
    950: '#000000',
  },
}
SCSS
$custom: #531957;
$custom-light: #865b87;
$custom-dark: #000000;
JSON
{
  "hex": "#531957",
  "rgb": {
    "r": 83,
    "g": 25,
    "b": 87
  },
  "hsl": {
    "h": 296.129,
    "s": 55.357,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33365,
    "c": 0.11926,
    "h": 325.1
  },
  "luminance": 0.03222
}

Semantic roles & 50–950 ramp

primary
#531957
secondary
#448D3E
accent
#DF4953
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #531957

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

Preview Lab → · Contrast checker → · Palette generator →

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