#53186F#53186F

#53186F is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.0% C 0.145 H 312.2°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#53186F
RGBrgb(83, 24, 111)
HSLhsl(281, 64%, 26%)
HSVhsv(281, 78%, 44%)
CMYKcmyk(25.2%, 78.4%, 0%, 56.5%)
CIE-LABlab(22.44, 41.48, -37.88)
CIE-LCHlch(22.44, 56.17, 317.60°)
OKLaboklab(34.99% 0.097 -0.1071)
OKLCHoklch(34.99% 0.145 312.2)
XYZxyz(6.7626, 3.6402, 15.3822)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53186F #346F18
analogous
#28186F #53186F #6F1860
triadic
#53186F #6F5318 #186F53
tetradic
#53186F #6F2818 #346F18 #18606F
square
#53186F #6F2818 #346F18 #18606F
split-complementary
#53186F #606F18 #186F28
monochromatic
#130519 #2D0D3D #53186F #7923A1 #9E2FD2

Accessibility & contrast

On white

12.15
#53186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#53186F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53186F
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53186F#FFFFFF#000000##FFFFFF
##53186F1.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#0B376D
Tritanopia (blue-blind)
#502C42
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #53186f;
/* rgb */ color: rgb(83, 24, 111);
/* oklch */ color: oklch(35.0% 0.145 312.2);
Tailwind
colors: {
  custom: {
    50: '#875c99',
    500: '#53186f',
    950: '#000000',
  },
}
SCSS
$custom: #53186f;
$custom-light: #875c99;
$custom-dark: #000000;
JSON
{
  "hex": "#53186f",
  "rgb": {
    "r": 83,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 280.69,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.34995,
    "c": 0.14453,
    "h": 312.2
  },
  "luminance": 0.0364
}

Semantic roles & 50–950 ramp

primary
#53186F
secondary
#5FA53E
accent
#E74076
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #53186F

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

Preview Lab → · Contrast checker → · Palette generator →

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