#53178F#53178F

#53178F is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.7% C 0.178 H 300.1°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#53178F
RGBrgb(83, 23, 143)
HSLhsl(270, 72%, 33%)
HSVhsv(270, 84%, 56%)
CMYKcmyk(42%, 83.9%, 0%, 43.9%)
CIE-LABlab(25.06, 49.47, -53.88)
CIE-LCHlch(25.06, 73.15, 312.56°)
OKLaboklab(37.68% 0.0892 -0.1541)
OKLCHoklch(37.68% 0.178 300.1)
XYZxyz(8.8304, 4.4349, 26.3721)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53178F #538F17
analogous
#17178F #53178F #8F178F
triadic
#53178F #8F5317 #178F53
tetradic
#53178F #8F1717 #538F17 #178F8F
square
#53178F #8F1717 #538F17 #178F8F
split-complementary
#53178F #8F8F17 #178F17
monochromatic
#160626 #340F5A #53178F #721FC4 #9040E0

Accessibility & contrast

On white

11.13
#53178F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#53178F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53178F
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53178F#FFFFFF#000000##FFFFFF
##53178F1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#453A55
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #53178f;
/* rgb */ color: rgb(83, 23, 143);
/* oklch */ color: oklch(37.7% 0.178 300.1);
Tailwind
colors: {
  custom: {
    50: '#8a5db1',
    500: '#53178f',
    950: '#000000',
  },
}
SCSS
$custom: #53178f;
$custom-light: #8a5db1;
$custom-dark: #000000;
JSON
{
  "hex": "#53178f",
  "rgb": {
    "r": 83,
    "g": 23,
    "b": 143
  },
  "hsl": {
    "h": 270,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37676,
    "c": 0.1781,
    "h": 300.1
  },
  "luminance": 0.04435
}

Semantic roles & 50–950 ramp

primary
#53178F
secondary
#81C141
accent
#EF3994
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0D0511
muted
#7D7980

Preview Lab

Preview with #53178F

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

Preview Lab → · Contrast checker → · Palette generator →

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