#531955#531955

#531955 is a dark, moderate purple. Relative luminance 0.032; OKLCH L 33.2% C 0.117 H 326.4°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#531955
RGBrgb(83, 25, 85)
HSLhsl(298, 55%, 22%)
HSVhsv(298, 71%, 33%)
CMYKcmyk(2.4%, 70.6%, 0%, 66.7%)
CIE-LABlab(20.79, 35.45, -23.42)
CIE-LCHlch(20.79, 42.48, 326.55°)
OKLaboklab(33.24% 0.0978 -0.0649)
OKLCHoklch(33.24% 0.117 326.4)
XYZxyz(5.5545, 3.1905, 8.9158)
Luminance0.0319 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531955 #1B5519
analogous
#351955 #531955 #551939
triadic
#531955 #555319 #195553
tetradic
#531955 #553519 #1B5519 #193955
square
#531955 #553519 #1B5519 #193955
split-complementary
#531955 #395519 #195535
monochromatic
#170718 #250B26 #531955 #812784 #AF35B4

Accessibility & contrast

On white

12.82
#531955 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#531955 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531955
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531955#FFFFFF#000000##FFFFFF
##5319551.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2D57
Deuteranopia (green-blind)
#263553
Tritanopia (blue-blind)
#552234
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #531955;
/* rgb */ color: rgb(83, 25, 85);
/* oklch */ color: oklch(33.2% 0.117 326.4);
Tailwind
colors: {
  custom: {
    50: '#865b85',
    500: '#531955',
    950: '#000000',
  },
}
SCSS
$custom: #531955;
$custom-light: #865b85;
$custom-dark: #000000;
JSON
{
  "hex": "#531955",
  "rgb": {
    "r": 83,
    "g": 25,
    "b": 85
  },
  "hsl": {
    "h": 298,
    "s": 54.545,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33236,
    "c": 0.11734,
    "h": 326.4
  },
  "luminance": 0.0319
}

Semantic roles & 50–950 ramp

primary
#531955
secondary
#418B3E
accent
#DE4A4F
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #531955

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

Preview Lab → · Contrast checker → · Palette generator →

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