#531457#531457

#531457 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.8% C 0.126 H 325.4°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#531457
RGBrgb(83, 20, 87)
HSLhsl(296, 63%, 21%)
HSVhsv(296, 77%, 34%)
CMYKcmyk(4.6%, 77%, 0%, 65.9%)
CIE-LABlab(20.15, 37.99, -25.77)
CIE-LCHlch(20.15, 45.91, 325.86°)
OKLaboklab(32.82% 0.1038 -0.0716)
OKLCHoklch(32.82% 0.126 325.4)
XYZxyz(5.5376, 3.0278, 9.3077)
Luminance0.0303 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531457 #185714
analogous
#311457 #531457 #571439
triadic
#531457 #575314 #145753
tetradic
#531457 #573114 #185714 #143957
square
#531457 #573114 #185714 #143957
split-complementary
#531457 #395714 #145731
monochromatic
#180619 #240925 #531457 #821F89 #B22BBB

Accessibility & contrast

On white

13.08
#531457 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#531457 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531457
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531457#FFFFFF#000000##FFFFFF
##5314571.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032C59
Deuteranopia (green-blind)
#223355
Tritanopia (blue-blind)
#551F34
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #531457;
/* rgb */ color: rgb(83, 20, 87);
/* oklch */ color: oklch(32.8% 0.126 325.4);
Tailwind
colors: {
  custom: {
    50: '#865987',
    500: '#531457',
    950: '#000000',
  },
}
SCSS
$custom: #531457;
$custom-light: #865987;
$custom-dark: #000000;
JSON
{
  "hex": "#531457",
  "rgb": {
    "r": 83,
    "g": 20,
    "b": 87
  },
  "hsl": {
    "h": 296.418,
    "s": 62.617,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32819,
    "c": 0.12613,
    "h": 325.4
  },
  "luminance": 0.03027
}

Semantic roles & 50–950 ramp

primary
#531457
secondary
#3D8F38
accent
#E6424C
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #531457

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

Preview Lab → · Contrast checker → · Palette generator →

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