#531A67#531A67

#531A67 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.6% C 0.134 H 315.8°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#531A67
RGBrgb(83, 26, 103)
HSLhsl(284, 60%, 25%)
HSVhsv(284, 75%, 40%)
CMYKcmyk(19.4%, 74.8%, 0%, 59.6%)
CIE-LABlab(22.15, 38.81, -33.16)
CIE-LCHlch(22.15, 51.05, 319.49°)
OKLaboklab(34.6% 0.096 -0.0933)
OKLCHoklch(34.6% 0.134 315.8)
XYZxyz(6.3845, 3.5573, 13.1797)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531A67 #2E671A
analogous
#2D1A67 #531A67 #671A54
triadic
#531A67 #67531A #1A6753
tetradic
#531A67 #672D1A #2E671A #1A5467
square
#531A67 #672D1A #2E671A #1A5467
split-complementary
#531A67 #54671A #1A672D
monochromatic
#140618 #2C0E36 #531A67 #7A2698 #A233C9

Accessibility & contrast

On white

12.27
#531A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#531A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531A67
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531A67#FFFFFF#000000##FFFFFF
##531A671.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003269
Deuteranopia (green-blind)
#193765
Tritanopia (blue-blind)
#522A3E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #531a67;
/* rgb */ color: rgb(83, 26, 103);
/* oklch */ color: oklch(34.6% 0.134 315.8);
Tailwind
colors: {
  custom: {
    50: '#865c93',
    500: '#531a67',
    950: '#000000',
  },
}
SCSS
$custom: #531a67;
$custom-light: #865c93;
$custom-dark: #000000;
JSON
{
  "hex": "#531a67",
  "rgb": {
    "r": 83,
    "g": 26,
    "b": 103
  },
  "hsl": {
    "h": 284.416,
    "s": 59.69,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34596,
    "c": 0.13386,
    "h": 315.8
  },
  "luminance": 0.03557
}

Semantic roles & 50–950 ramp

primary
#531A67
secondary
#589D40
accent
#E3456E
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #531A67

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

Preview Lab → · Contrast checker → · Palette generator →

#531A67 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva