#53174D#53174D

#53174D is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.5% C 0.113 H 332.1°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#53174D
RGBrgb(83, 23, 77)
HSLhsl(306, 57%, 21%)
HSVhsv(306, 72%, 33%)
CMYKcmyk(0%, 72.3%, 7.2%, 67.5%)
CIE-LABlab(20.00, 34.82, -19.27)
CIE-LCHlch(20.00, 39.79, 331.04°)
OKLaboklab(32.51% 0.0998 -0.0529)
OKLCHoklch(32.51% 0.113 332.1)
XYZxyz(5.2132, 2.9880, 7.3219)
Luminance0.0299 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53174D #17531D
analogous
#3B1753 #53174D #53172F
triadic
#53174D #4D5317 #174D53
tetradic
#53174D #533B17 #17531D #172F53
square
#53174D #533B17 #17531D #172F53
split-complementary
#53174D #2F5317 #17533B
monochromatic
#180716 #230A21 #53174D #832479 #B332A6

Accessibility & contrast

On white

13.14
#53174D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#53174D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53174D
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53174D#FFFFFF#000000##FFFFFF
##53174D1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142B4F
Deuteranopia (green-blind)
#29334B
Tritanopia (blue-blind)
#571D2F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #53174d;
/* rgb */ color: rgb(83, 23, 77);
/* oklch */ color: oklch(32.5% 0.113 332.1);
Tailwind
colors: {
  custom: {
    50: '#865a7f',
    500: '#53174d',
    950: '#000000',
  },
}
SCSS
$custom: #53174d;
$custom-light: #865a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#53174d",
  "rgb": {
    "r": 83,
    "g": 23,
    "b": 77
  },
  "hsl": {
    "h": 306,
    "s": 56.604,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32508,
    "c": 0.11293,
    "h": 332.1
  },
  "luminance": 0.02988
}

Semantic roles & 50–950 ramp

primary
#53174D
secondary
#3C8A44
accent
#E05748
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #53174D

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

Preview Lab → · Contrast checker → · Palette generator →

#53174D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva