#531254#531254

#531254 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.4% C 0.126 H 327.4°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#531254
RGBrgb(83, 18, 84)
HSLhsl(299, 65%, 20%)
HSVhsv(299, 79%, 33%)
CMYKcmyk(1.2%, 78.6%, 0%, 67.1%)
CIE-LABlab(19.69, 38.19, -24.49)
CIE-LCHlch(19.69, 45.37, 327.33°)
OKLaboklab(32.42% 0.106 -0.0679)
OKLCHoklch(32.42% 0.126 327.4)
XYZxyz(5.3837, 2.9121, 8.6643)
Luminance0.0291 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531254 #135412
analogous
#321254 #531254 #541234
triadic
#531254 #545312 #125453
tetradic
#531254 #543212 #135412 #123454
square
#531254 #543212 #135412 #123454
split-complementary
#531254 #345412 #125432
monochromatic
#190519 #210722 #531254 #851D86 #B728B9

Accessibility & contrast

On white

13.27
#531254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#531254 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531254
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531254#FFFFFF#000000##FFFFFF
##5312541.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052A56
Deuteranopia (green-blind)
#233352
Tritanopia (blue-blind)
#561C32
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #531254;
/* rgb */ color: rgb(83, 18, 84);
/* oklch */ color: oklch(32.4% 0.126 327.4);
Tailwind
colors: {
  custom: {
    50: '#865884',
    500: '#531254',
    950: '#000000',
  },
}
SCSS
$custom: #531254;
$custom-light: #865884;
$custom-dark: #000000;
JSON
{
  "hex": "#531254",
  "rgb": {
    "r": 83,
    "g": 18,
    "b": 84
  },
  "hsl": {
    "h": 299.091,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.32423,
    "c": 0.12592,
    "h": 327.4
  },
  "luminance": 0.02912
}

Semantic roles & 50–950 ramp

primary
#531254
secondary
#368D35
accent
#E84043
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #531254

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

Preview Lab → · Contrast checker → · Palette generator →

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