#531A6E#531A6E

#531A6E is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.1% C 0.141 H 312.4°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#531A6E
RGBrgb(83, 26, 110)
HSLhsl(281, 62%, 27%)
HSVhsv(281, 76%, 43%)
CMYKcmyk(24.5%, 76.4%, 0%, 56.9%)
CIE-LABlab(22.67, 40.40, -36.87)
CIE-LCHlch(22.67, 54.69, 317.61°)
OKLaboklab(35.13% 0.0951 -0.1042)
OKLCHoklch(35.13% 0.141 312.4)
XYZxyz(6.7506, 3.7038, 15.1081)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531A6E #356E1A
analogous
#291A6E #531A6E #6E1A5F
triadic
#531A6E #6E531A #1A6E53
tetradic
#531A6E #6E291A #356E1A #1A5F6E
square
#531A6E #6E291A #356E1A #1A5F6E
split-complementary
#531A6E #5F6E1A #1A6E29
monochromatic
#130619 #2E0E3D #531A6E #7826A0 #9D34CF

Accessibility & contrast

On white

12.06
#531A6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#531A6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531A6E
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531A6E#FFFFFF#000000##FFFFFF
##531A6E1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#10376C
Tritanopia (blue-blind)
#502D42
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #531a6e;
/* rgb */ color: rgb(83, 26, 110);
/* oklch */ color: oklch(35.1% 0.141 312.4);
Tailwind
colors: {
  custom: {
    50: '#875d98',
    500: '#531a6e',
    950: '#000000',
  },
}
SCSS
$custom: #531a6e;
$custom-light: #875d98;
$custom-dark: #000000;
JSON
{
  "hex": "#531a6e",
  "rgb": {
    "r": 83,
    "g": 26,
    "b": 110
  },
  "hsl": {
    "h": 280.714,
    "s": 61.765,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35128,
    "c": 0.14107,
    "h": 312.4
  },
  "luminance": 0.03704
}

Semantic roles & 50–950 ramp

primary
#531A6E
secondary
#60A341
accent
#E54377
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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