#531255#531255

#531255 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.5% C 0.127 H 326.7°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#531255
RGBrgb(83, 18, 85)
HSLhsl(298, 65%, 20%)
HSVhsv(298, 79%, 33%)
CMYKcmyk(2.4%, 78.8%, 0%, 66.7%)
CIE-LABlab(19.75, 38.38, -25.06)
CIE-LCHlch(19.75, 45.84, 326.86°)
OKLaboklab(32.49% 0.106 -0.0696)
OKLCHoklch(32.49% 0.127 326.7)
XYZxyz(5.4232, 2.9279, 8.8721)
Luminance0.0293 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531255 #145512
analogous
#311255 #531255 #551235
triadic
#531255 #555312 #125553
tetradic
#531255 #553112 #145512 #123555
square
#531255 #553112 #145512 #123555
split-complementary
#531255 #355512 #125531
monochromatic
#190519 #220722 #531255 #841D88 #B627BA

Accessibility & contrast

On white

13.25
#531255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#531255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531255
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531255#FFFFFF#000000##FFFFFF
##5312551.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032B57
Deuteranopia (green-blind)
#223353
Tritanopia (blue-blind)
#551D32
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #531255;
/* rgb */ color: rgb(83, 18, 85);
/* oklch */ color: oklch(32.5% 0.127 326.7);
Tailwind
colors: {
  custom: {
    50: '#865885',
    500: '#531255',
    950: '#000000',
  },
}
SCSS
$custom: #531255;
$custom-light: #865885;
$custom-dark: #000000;
JSON
{
  "hex": "#531255",
  "rgb": {
    "r": 83,
    "g": 18,
    "b": 85
  },
  "hsl": {
    "h": 298.209,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.3249,
    "c": 0.12681,
    "h": 326.7
  },
  "luminance": 0.02927
}

Semantic roles & 50–950 ramp

primary
#531255
secondary
#388E35
accent
#E84045
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #531255

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

Preview Lab → · Contrast checker → · Palette generator →

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