#53176E#53176E

#53176E is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.8% C 0.145 H 312.7°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#53176E
RGBrgb(83, 23, 110)
HSLhsl(281, 65%, 26%)
HSVhsv(281, 79%, 43%)
CMYKcmyk(24.5%, 79.1%, 0%, 56.9%)
CIE-LABlab(22.22, 41.66, -37.59)
CIE-LCHlch(22.22, 56.11, 317.94°)
OKLaboklab(34.81% 0.0982 -0.1063)
OKLCHoklch(34.81% 0.145 312.7)
XYZxyz(6.6876, 3.5778, 15.0871)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53176E #326E17
analogous
#27176E #53176E #6E175D
triadic
#53176E #6E5317 #176E53
tetradic
#53176E #6E2717 #326E17 #175D6E
square
#53176E #6E2717 #326E17 #175D6E
split-complementary
#53176E #5D6E17 #176E27
monochromatic
#130519 #2D0C3B #53176E #7922A1 #9F2CD3

Accessibility & contrast

On white

12.24
#53176E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#53176E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53176E
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53176E#FFFFFF#000000##FFFFFF
##53176E1.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003270
Deuteranopia (green-blind)
#0C366C
Tritanopia (blue-blind)
#502B42
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #53176e;
/* rgb */ color: rgb(83, 23, 110);
/* oklch */ color: oklch(34.8% 0.145 312.7);
Tailwind
colors: {
  custom: {
    50: '#875b98',
    500: '#53176e',
    950: '#000000',
  },
}
SCSS
$custom: #53176e;
$custom-light: #875b98;
$custom-dark: #000000;
JSON
{
  "hex": "#53176e",
  "rgb": {
    "r": 83,
    "g": 23,
    "b": 110
  },
  "hsl": {
    "h": 281.379,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.34814,
    "c": 0.1447,
    "h": 312.7
  },
  "luminance": 0.03578
}

Semantic roles & 50–950 ramp

primary
#53176E
secondary
#5DA43D
accent
#E83F74
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #53176E

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

Preview Lab → · Contrast checker → · Palette generator →

#53176E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva