#53174F#53174F

#53174F is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.6% C 0.115 H 330.6°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#53174F
RGBrgb(83, 23, 79)
HSLhsl(304, 57%, 21%)
HSVhsv(304, 72%, 33%)
CMYKcmyk(0%, 72.3%, 4.8%, 67.5%)
CIE-LABlab(20.11, 35.19, -20.45)
CIE-LCHlch(20.11, 40.70, 329.84°)
OKLaboklab(32.63% 0.1 -0.0562)
OKLCHoklch(32.63% 0.115 330.6)
XYZxyz(5.2849, 3.0167, 7.6995)
Luminance0.0302 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53174F #17531B
analogous
#391753 #53174F #531731
triadic
#53174F #4F5317 #174F53
tetradic
#53174F #533917 #17531B #173153
square
#53174F #533917 #17531B #173153
split-complementary
#53174F #315317 #175339
monochromatic
#180717 #230A21 #53174F #83247D #B332AA

Accessibility & contrast

On white

13.10
#53174F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #53174F
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53174F#FFFFFF#000000##FFFFFF
##53174F1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122B51
Deuteranopia (green-blind)
#28334D
Tritanopia (blue-blind)
#561E30
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #53174f;
/* rgb */ color: rgb(83, 23, 79);
/* oklch */ color: oklch(32.6% 0.115 330.6);
Tailwind
colors: {
  custom: {
    50: '#865a80',
    500: '#53174f',
    950: '#000000',
  },
}
SCSS
$custom: #53174f;
$custom-light: #865a80;
$custom-dark: #000000;
JSON
{
  "hex": "#53174f",
  "rgb": {
    "r": 83,
    "g": 23,
    "b": 79
  },
  "hsl": {
    "h": 304,
    "s": 56.604,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32628,
    "c": 0.11472,
    "h": 330.6
  },
  "luminance": 0.03016
}

Semantic roles & 50–950 ramp

primary
#53174F
secondary
#3C8A41
accent
#E05248
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #53174F

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

Preview Lab → · Contrast checker → · Palette generator →

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