#53175C#53175C

#53175C is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.5% C 0.127 H 322.2°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#53175C
RGBrgb(83, 23, 92)
HSLhsl(292, 60%, 23%)
HSVhsv(292, 75%, 36%)
CMYKcmyk(9.8%, 75%, 0%, 63.9%)
CIE-LABlab(20.92, 37.76, -27.88)
CIE-LCHlch(20.92, 46.94, 323.56°)
OKLaboklab(33.48% 0.1002 -0.0778)
OKLCHoklch(33.48% 0.127 322.2)
XYZxyz(5.8052, 3.2248, 10.4398)
Luminance0.0322 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53175C #205C17
analogous
#31175C #53175C #5C1742
triadic
#53175C #5C5317 #175C53
tetradic
#53175C #5C3117 #205C17 #17425C
square
#53175C #5C3117 #205C17 #17425C
split-complementary
#53175C #425C17 #175C31
monochromatic
#160618 #270B2B #53175C #7F238D #AB2FBE

Accessibility & contrast

On white

12.77
#53175C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#53175C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53175C
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53175C#FFFFFF#000000##FFFFFF
##53175C1.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012E5E
Deuteranopia (green-blind)
#20355A
Tritanopia (blue-blind)
#542337
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #53175c;
/* rgb */ color: rgb(83, 23, 92);
/* oklch */ color: oklch(33.5% 0.127 322.2);
Tailwind
colors: {
  custom: {
    50: '#865a8a',
    500: '#53175c',
    950: '#000000',
  },
}
SCSS
$custom: #53175c;
$custom-light: #865a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#53175c",
  "rgb": {
    "r": 83,
    "g": 23,
    "b": 92
  },
  "hsl": {
    "h": 292.174,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33475,
    "c": 0.12691,
    "h": 322.2
  },
  "luminance": 0.03224
}

Semantic roles & 50–950 ramp

primary
#53175C
secondary
#47933C
accent
#E34559
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #53175C

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

Preview Lab → · Contrast checker → · Palette generator →

#53175C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva