#531A4E#531A4E

#531A4E is a dark, moderate purple. Relative luminance 0.031; OKLCH L 32.9% C 0.109 H 331.4°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#531A4E
RGBrgb(83, 26, 78)
HSLhsl(305, 52%, 21%)
HSVhsv(305, 69%, 33%)
CMYKcmyk(0%, 68.7%, 6%, 67.5%)
CIE-LABlab(20.55, 33.62, -19.08)
CIE-LCHlch(20.55, 38.65, 330.43°)
OKLaboklab(32.93% 0.0959 -0.0523)
OKLCHoklch(32.93% 0.109 331.4)
XYZxyz(5.3118, 3.1282, 7.5303)
Luminance0.0313 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531A4E #1A531F
analogous
#3C1A53 #531A4E #531A32
triadic
#531A4E #4E531A #1A4E53
tetradic
#531A4E #533C1A #1A531F #1A3253
square
#531A4E #533C1A #1A531F #1A3253
split-complementary
#531A4E #32531A #1A533C
monochromatic
#170716 #240B22 #531A4E #82297A #B037A6

Accessibility & contrast

On white

12.92
#531A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#531A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531A4E
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531A4E#FFFFFF#000000##FFFFFF
##531A4E1.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172C50
Deuteranopia (green-blind)
#2A344C
Tritanopia (blue-blind)
#572031
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #531a4e;
/* rgb */ color: rgb(83, 26, 78);
/* oklch */ color: oklch(32.9% 0.109 331.4);
Tailwind
colors: {
  custom: {
    50: '#865b80',
    500: '#531a4e',
    950: '#000000',
  },
}
SCSS
$custom: #531a4e;
$custom-light: #865b80;
$custom-dark: #000000;
JSON
{
  "hex": "#531a4e",
  "rgb": {
    "r": 83,
    "g": 26,
    "b": 78
  },
  "hsl": {
    "h": 305.263,
    "s": 52.294,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32929,
    "c": 0.10924,
    "h": 331.4
  },
  "luminance": 0.03128
}

Semantic roles & 50–950 ramp

primary
#531A4E
secondary
#408946
accent
#DC594C
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #531A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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