#531958#531958

#531958 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.4% C 0.120 H 324.5°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#531958
RGBrgb(83, 25, 88)
HSLhsl(295, 56%, 22%)
HSVhsv(295, 72%, 35%)
CMYKcmyk(5.7%, 71.6%, 0%, 65.5%)
CIE-LABlab(20.98, 36.05, -25.13)
CIE-LCHlch(20.98, 43.95, 325.12°)
OKLaboklab(33.43% 0.0979 -0.0698)
OKLCHoklch(33.43% 0.12 324.5)
XYZxyz(5.6762, 3.2392, 9.5569)
Luminance0.0324 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531958 #1E5819
analogous
#341958 #531958 #58193E
triadic
#531958 #585319 #195853
tetradic
#531958 #583419 #1E5819 #193E58
square
#531958 #583419 #1E5819 #193E58
split-complementary
#531958 #3E5819 #195834
monochromatic
#160718 #260B28 #531958 #802788 #AD34B7

Accessibility & contrast

On white

12.74
#531958 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#531958 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531958
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531958#FFFFFF#000000##FFFFFF
##5319581.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2E5A
Deuteranopia (green-blind)
#243556
Tritanopia (blue-blind)
#552336
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #531958;
/* rgb */ color: rgb(83, 25, 88);
/* oklch */ color: oklch(33.4% 0.120 324.5);
Tailwind
colors: {
  custom: {
    50: '#865b87',
    500: '#531958',
    950: '#000000',
  },
}
SCSS
$custom: #531958;
$custom-light: #865b87;
$custom-dark: #000000;
JSON
{
  "hex": "#531958",
  "rgb": {
    "r": 83,
    "g": 25,
    "b": 88
  },
  "hsl": {
    "h": 295.238,
    "s": 55.752,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33431,
    "c": 0.12023,
    "h": 324.5
  },
  "luminance": 0.03239
}

Semantic roles & 50–950 ramp

primary
#531958
secondary
#458E3E
accent
#DF4955
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #531958

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

Preview Lab → · Contrast checker → · Palette generator →

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