#531070#531070

#531070 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.4% C 0.154 H 312.5°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#531070
RGBrgb(83, 16, 112)
HSLhsl(282, 75%, 25%)
HSVhsv(282, 86%, 44%)
CMYKcmyk(25.9%, 85.7%, 0%, 56.1%)
CIE-LABlab(21.50, 44.65, -40.05)
CIE-LCHlch(21.50, 59.98, 318.11°)
OKLaboklab(34.36% 0.1039 -0.1135)
OKLCHoklch(34.36% 0.154 312.5)
XYZxyz(6.6767, 3.3796, 15.6267)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531070 #2D7010
analogous
#231070 #531070 #70105D
triadic
#531070 #705310 #107053
tetradic
#531070 #702310 #2D7010 #105D70
square
#531070 #702310 #2D7010 #105D70
split-complementary
#531070 #5D7010 #107023
monochromatic
#14041B #2B083A #531070 #7B18A6 #A21FDB

Accessibility & contrast

On white

12.53
#531070 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#531070 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531070
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531070#FFFFFF#000000##FFFFFF
##5310701.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003073
Deuteranopia (green-blind)
#00356E
Tritanopia (blue-blind)
#502941
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #531070;
/* rgb */ color: rgb(83, 16, 112);
/* oklch */ color: oklch(34.4% 0.154 312.5);
Tailwind
colors: {
  custom: {
    50: '#87599a',
    500: '#531070',
    950: '#000000',
  },
}
SCSS
$custom: #531070;
$custom-light: #87599a;
$custom-dark: #000000;
JSON
{
  "hex": "#531070",
  "rgb": {
    "r": 83,
    "g": 16,
    "b": 112
  },
  "hsl": {
    "h": 281.875,
    "s": 75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.34359,
    "c": 0.15387,
    "h": 312.5
  },
  "luminance": 0.03379
}

Semantic roles & 50–950 ramp

primary
#531070
secondary
#57A834
accent
#F2366F
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531070

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

Preview Lab → · Contrast checker → · Palette generator →

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