#531470#531470

#531470 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.7% C 0.150 H 312.1°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#531470
RGBrgb(83, 20, 112)
HSLhsl(281, 70%, 26%)
HSVhsv(281, 82%, 44%)
CMYKcmyk(25.9%, 82.1%, 0%, 56.1%)
CIE-LABlab(21.98, 43.27, -39.28)
CIE-LCHlch(21.98, 58.44, 317.77°)
OKLaboklab(34.69% 0.1006 -0.1112)
OKLCHoklch(34.69% 0.15 312.1)
XYZxyz(6.7415, 3.5094, 15.6483)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531470 #317014
analogous
#251470 #531470 #70145F
triadic
#531470 #705314 #147053
tetradic
#531470 #702514 #317014 #145F70
square
#531470 #702514 #317014 #145F70
split-complementary
#531470 #5F7014 #147025
monochromatic
#13051A #2D0B3C #531470 #791DA4 #A027D8

Accessibility & contrast

On white

12.34
#531470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#531470 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531470
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531470#FFFFFF#000000##FFFFFF
##5314701.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003272
Deuteranopia (green-blind)
#03366E
Tritanopia (blue-blind)
#4F2A42
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #531470;
/* rgb */ color: rgb(83, 20, 112);
/* oklch */ color: oklch(34.7% 0.150 312.1);
Tailwind
colors: {
  custom: {
    50: '#875a9a',
    500: '#531470',
    950: '#000000',
  },
}
SCSS
$custom: #531470;
$custom-light: #875a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#531470",
  "rgb": {
    "r": 83,
    "g": 20,
    "b": 112
  },
  "hsl": {
    "h": 281.087,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.34691,
    "c": 0.14999,
    "h": 312.1
  },
  "luminance": 0.03509
}

Semantic roles & 50–950 ramp

primary
#531470
secondary
#5CA639
accent
#ED3B73
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531470

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

Preview Lab → · Contrast checker → · Palette generator →

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