#531956#531956

#531956 is a dark, moderate purple. Relative luminance 0.032; OKLCH L 33.3% C 0.118 H 325.8°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#531956
RGBrgb(83, 25, 86)
HSLhsl(297, 55%, 22%)
HSVhsv(297, 71%, 34%)
CMYKcmyk(3.5%, 70.9%, 0%, 66.3%)
CIE-LABlab(20.85, 35.65, -23.99)
CIE-LCHlch(20.85, 42.97, 326.06°)
OKLaboklab(33.3% 0.0978 -0.0665)
OKLCHoklch(33.3% 0.118 325.8)
XYZxyz(5.5945, 3.2065, 9.1265)
Luminance0.0321 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531956 #1C5619
analogous
#351956 #531956 #56193B
triadic
#531956 #565319 #195653
tetradic
#531956 #563519 #1C5619 #193B56
square
#531956 #563519 #1C5619 #193B56
split-complementary
#531956 #3B5619 #195635
monochromatic
#170718 #250B27 #531956 #812785 #AF35B5

Accessibility & contrast

On white

12.80
#531956 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531956
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531956#FFFFFF#000000##FFFFFF
##5319561.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #531956;
/* rgb */ color: rgb(83, 25, 86);
/* oklch */ color: oklch(33.3% 0.118 325.8);
Tailwind
colors: {
  custom: {
    50: '#865b86',
    500: '#531956',
    950: '#000000',
  },
}
SCSS
$custom: #531956;
$custom-light: #865b86;
$custom-dark: #000000;
JSON
{
  "hex": "#531956",
  "rgb": {
    "r": 83,
    "g": 25,
    "b": 86
  },
  "hsl": {
    "h": 297.049,
    "s": 54.955,
    "l": 21.765
  },
  "oklch": {
    "l": 0.333,
    "c": 0.11829,
    "h": 325.8
  },
  "luminance": 0.03206
}

Semantic roles & 50–950 ramp

primary
#531956
secondary
#428C3E
accent
#DE4A51
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #531956

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

Preview Lab → · Contrast checker → · Palette generator →

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