#531960#531960

#531960 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.0% C 0.128 H 319.7°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#531960
RGBrgb(83, 25, 96)
HSLhsl(289, 59%, 24%)
HSVhsv(289, 74%, 38%)
CMYKcmyk(13.5%, 74%, 0%, 62.4%)
CIE-LABlab(21.50, 37.73, -29.60)
CIE-LCHlch(21.50, 47.95, 321.88°)
OKLaboklab(33.98% 0.0977 -0.0829)
OKLCHoklch(33.98% 0.128 319.7)
XYZxyz(6.0260, 3.3791, 11.3989)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531960 #266019
analogous
#2F1960 #531960 #601949
triadic
#531960 #605319 #196053
tetradic
#531960 #602F19 #266019 #194960
square
#531960 #602F19 #266019 #194960
split-complementary
#531960 #496019 #19602F
monochromatic
#150618 #290C2F #531960 #7D2691 #A732C1

Accessibility & contrast

On white

12.53
#531960 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#531960 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531960
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531960#FFFFFF#000000##FFFFFF
##5319601.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003062
Deuteranopia (green-blind)
#1F365E
Tritanopia (blue-blind)
#53263A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #531960;
/* rgb */ color: rgb(83, 25, 96);
/* oklch */ color: oklch(34.0% 0.128 319.7);
Tailwind
colors: {
  custom: {
    50: '#865c8d',
    500: '#531960',
    950: '#000000',
  },
}
SCSS
$custom: #531960;
$custom-light: #865c8d;
$custom-dark: #000000;
JSON
{
  "hex": "#531960",
  "rgb": {
    "r": 83,
    "g": 25,
    "b": 96
  },
  "hsl": {
    "h": 289.014,
    "s": 58.678,
    "l": 23.725
  },
  "oklch": {
    "l": 0.33976,
    "c": 0.12812,
    "h": 319.7
  },
  "luminance": 0.03379
}

Semantic roles & 50–950 ramp

primary
#531960
secondary
#4F963F
accent
#E24662
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #531960

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

Preview Lab → · Contrast checker → · Palette generator →

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