#53175F#53175F

#53175F is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.7% C 0.130 H 320.4°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#53175F
RGBrgb(83, 23, 95)
HSLhsl(290, 61%, 23%)
HSVhsv(290, 76%, 37%)
CMYKcmyk(12.6%, 75.8%, 0%, 62.7%)
CIE-LABlab(21.13, 38.38, -29.54)
CIE-LCHlch(21.13, 48.44, 322.42°)
OKLaboklab(33.68% 0.1001 -0.0827)
OKLCHoklch(33.68% 0.13 320.4)
XYZxyz(5.9390, 3.2783, 11.1442)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53175F #235F17
analogous
#2F175F #53175F #5F1747
triadic
#53175F #5F5317 #175F53
tetradic
#53175F #5F2F17 #235F17 #17475F
square
#53175F #5F2F17 #235F17 #17475F
split-complementary
#53175F #475F17 #175F2F
monochromatic
#160619 #280B2E #53175F #7E2390 #A92FC2

Accessibility & contrast

On white

12.68
#53175F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#53175F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53175F
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53175F#FFFFFF#000000##FFFFFF
##53175F1.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F61
Deuteranopia (green-blind)
#1E355D
Tritanopia (blue-blind)
#532539
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #53175f;
/* rgb */ color: rgb(83, 23, 95);
/* oklch */ color: oklch(33.7% 0.130 320.4);
Tailwind
colors: {
  custom: {
    50: '#865b8d',
    500: '#53175f',
    950: '#000000',
  },
}
SCSS
$custom: #53175f;
$custom-light: #865b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#53175f",
  "rgb": {
    "r": 83,
    "g": 23,
    "b": 95
  },
  "hsl": {
    "h": 290,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33685,
    "c": 0.12982,
    "h": 320.4
  },
  "luminance": 0.03278
}

Semantic roles & 50–950 ramp

primary
#53175F
secondary
#4B963C
accent
#E4445E
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #53175F

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

Preview Lab → · Contrast checker → · Palette generator →

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