#531970#531970

#531970 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.2% C 0.144 H 311.6°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#531970
RGBrgb(83, 25, 112)
HSLhsl(280, 64%, 27%)
HSVhsv(280, 78%, 44%)
CMYKcmyk(25.9%, 77.7%, 0%, 56.1%)
CIE-LABlab(22.67, 41.29, -38.16)
CIE-LCHlch(22.67, 56.22, 317.25°)
OKLaboklab(35.18% 0.0958 -0.108)
OKLCHoklch(35.18% 0.144 311.6)
XYZxyz(6.8390, 3.7043, 15.6808)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531970 #367019
analogous
#281970 #531970 #701962
triadic
#531970 #705319 #197053
tetradic
#531970 #702819 #367019 #196270
square
#531970 #702819 #367019 #196270
split-complementary
#531970 #627019 #197028
monochromatic
#130619 #2E0E3E #531970 #7824A2 #9C32D1

Accessibility & contrast

On white

12.06
#531970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#531970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531970
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531970#FFFFFF#000000##FFFFFF
##5319701.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003372
Deuteranopia (green-blind)
#0B376E
Tritanopia (blue-blind)
#4F2D43
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #531970;
/* rgb */ color: rgb(83, 25, 112);
/* oklch */ color: oklch(35.2% 0.144 311.6);
Tailwind
colors: {
  custom: {
    50: '#875c9a',
    500: '#531970',
    950: '#000000',
  },
}
SCSS
$custom: #531970;
$custom-light: #875c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#531970",
  "rgb": {
    "r": 83,
    "g": 25,
    "b": 112
  },
  "hsl": {
    "h": 280,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35178,
    "c": 0.14437,
    "h": 311.6
  },
  "luminance": 0.03704
}

Semantic roles & 50–950 ramp

primary
#531970
secondary
#61A540
accent
#E74178
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531970

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

Preview Lab → · Contrast checker → · Palette generator →

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