#531456#531456

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

Color values

HEX#531456
RGBrgb(83, 20, 86)
HSLhsl(297, 62%, 21%)
HSVhsv(297, 77%, 34%)
CMYKcmyk(3.5%, 76.7%, 0%, 66.3%)
CIE-LABlab(20.09, 37.80, -25.20)
CIE-LCHlch(20.09, 45.43, 326.31°)
OKLaboklab(32.75% 0.1038 -0.07)
OKLCHoklch(32.75% 0.125 326)
XYZxyz(5.4970, 3.0116, 9.0941)
Luminance0.0301 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531456 #175614
analogous
#321456 #531456 #561438
triadic
#531456 #565314 #145653
tetradic
#531456 #563214 #175614 #143856
square
#531456 #563214 #175614 #143856
split-complementary
#531456 #385614 #145632
monochromatic
#180619 #230824 #531456 #832088 #B32BB9

Accessibility & contrast

On white

13.11
#531456 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#531456 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531456
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531456#FFFFFF#000000##FFFFFF
##5314561.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052B58
Deuteranopia (green-blind)
#233354
Tritanopia (blue-blind)
#551F33
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #531456;
/* rgb */ color: rgb(83, 20, 86);
/* oklch */ color: oklch(32.8% 0.125 326.0);
Tailwind
colors: {
  custom: {
    50: '#865986',
    500: '#531456',
    950: '#000000',
  },
}
SCSS
$custom: #531456;
$custom-light: #865986;
$custom-dark: #000000;
JSON
{
  "hex": "#531456",
  "rgb": {
    "r": 83,
    "g": 20,
    "b": 86
  },
  "hsl": {
    "h": 297.273,
    "s": 62.264,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32752,
    "c": 0.12521,
    "h": 326
  },
  "luminance": 0.03011
}

Semantic roles & 50–950 ramp

primary
#531456
secondary
#3C8E38
accent
#E5424A
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #531456

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

Preview Lab → · Contrast checker → · Palette generator →

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