#531658#531658

#531658 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.1% C 0.124 H 324.7°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#531658
RGBrgb(83, 22, 88)
HSLhsl(295, 60%, 22%)
HSVhsv(295, 75%, 35%)
CMYKcmyk(5.7%, 75%, 0%, 65.5%)
CIE-LABlab(20.51, 37.37, -25.87)
CIE-LCHlch(20.51, 45.45, 325.31°)
OKLaboklab(33.09% 0.1015 -0.072)
OKLCHoklch(33.09% 0.124 324.7)
XYZxyz(5.6155, 3.1177, 9.5366)
Luminance0.0312 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531658 #1B5816
analogous
#321658 #531658 #58163C
triadic
#531658 #585316 #165853
tetradic
#531658 #583216 #1B5816 #163C58
square
#531658 #583216 #1B5816 #163C58
split-complementary
#531658 #3C5816 #165832
monochromatic
#170618 #250A27 #531658 #812289 #AF2EBA

Accessibility & contrast

On white

12.94
#531658 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#531658 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531658
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531658#FFFFFF#000000##FFFFFF
##5316581.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052D5A
Deuteranopia (green-blind)
#233456
Tritanopia (blue-blind)
#552135
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #531658;
/* rgb */ color: rgb(83, 22, 88);
/* oklch */ color: oklch(33.1% 0.124 324.7);
Tailwind
colors: {
  custom: {
    50: '#865a87',
    500: '#531658',
    950: '#000000',
  },
}
SCSS
$custom: #531658;
$custom-light: #865a87;
$custom-dark: #000000;
JSON
{
  "hex": "#531658",
  "rgb": {
    "r": 83,
    "g": 22,
    "b": 88
  },
  "hsl": {
    "h": 295.455,
    "s": 60,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33094,
    "c": 0.12443,
    "h": 324.7
  },
  "luminance": 0.03117
}

Semantic roles & 50–950 ramp

primary
#531658
secondary
#418F3B
accent
#E34551
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #531658

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

Preview Lab → · Contrast checker → · Palette generator →

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