#531770#531770

#531770 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.0% C 0.147 H 311.8°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#531770
RGBrgb(83, 23, 112)
HSLhsl(280, 66%, 26%)
HSVhsv(280, 79%, 44%)
CMYKcmyk(25.9%, 79.5%, 0%, 56.1%)
CIE-LABlab(22.38, 42.12, -38.63)
CIE-LCHlch(22.38, 57.15, 317.47°)
OKLaboklab(34.97% 0.0978 -0.1093)
OKLCHoklch(34.97% 0.147 311.8)
XYZxyz(6.7978, 3.6218, 15.6671)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531770 #347017
analogous
#261770 #531770 #701761
triadic
#531770 #705317 #177053
tetradic
#531770 #702617 #347017 #176170
square
#531770 #702617 #347017 #176170
split-complementary
#531770 #617017 #177026
monochromatic
#130519 #2D0D3D #531770 #7921A3 #9E2DD4

Accessibility & contrast

On white

12.18
#531770 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#531770 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531770
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531770#FFFFFF#000000##FFFFFF
##5317701.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003372
Deuteranopia (green-blind)
#07376E
Tritanopia (blue-blind)
#4F2C43
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #531770;
/* rgb */ color: rgb(83, 23, 112);
/* oklch */ color: oklch(35.0% 0.147 311.8);
Tailwind
colors: {
  custom: {
    50: '#875b9a',
    500: '#531770',
    950: '#000000',
  },
}
SCSS
$custom: #531770;
$custom-light: #875b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#531770",
  "rgb": {
    "r": 83,
    "g": 23,
    "b": 112
  },
  "hsl": {
    "h": 280.449,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.34974,
    "c": 0.14671,
    "h": 311.8
  },
  "luminance": 0.03622
}

Semantic roles & 50–950 ramp

primary
#531770
secondary
#5FA63D
accent
#E93F76
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531770

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

Preview Lab → · Contrast checker → · Palette generator →

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