#53178D#53178D

#53178D is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.176 H 300.7°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#53178D
RGBrgb(83, 23, 141)
HSLhsl(271, 72%, 32%)
HSVhsv(271, 84%, 55%)
CMYKcmyk(41.1%, 83.7%, 0%, 44.7%)
CIE-LABlab(24.87, 48.98, -52.94)
CIE-LCHlch(24.87, 72.12, 312.78°)
OKLaboklab(37.49% 0.0899 -0.1514)
OKLCHoklch(37.49% 0.176 300.7)
XYZxyz(8.6802, 4.3748, 25.5812)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53178D #518D17
analogous
#18178D #53178D #8D178C
triadic
#53178D #8D5317 #178D53
tetradic
#53178D #8D1817 #518D17 #178C8D
square
#53178D #8D1817 #518D17 #178C8D
split-complementary
#53178D #8C8D17 #178D18
monochromatic
#150624 #340E58 #53178D #7220C2 #913FE0

Accessibility & contrast

On white

11.20
#53178D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#53178D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53178D
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53178D#FFFFFF#000000##FFFFFF
##53178D1.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#453953
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #53178d;
/* rgb */ color: rgb(83, 23, 141);
/* oklch */ color: oklch(37.5% 0.176 300.7);
Tailwind
colors: {
  custom: {
    50: '#8a5daf',
    500: '#53178d',
    950: '#000000',
  },
}
SCSS
$custom: #53178d;
$custom-light: #8a5daf;
$custom-dark: #000000;
JSON
{
  "hex": "#53178d",
  "rgb": {
    "r": 83,
    "g": 23,
    "b": 141
  },
  "hsl": {
    "h": 270.508,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3749,
    "c": 0.17607,
    "h": 300.7
  },
  "luminance": 0.04375
}

Semantic roles & 50–950 ramp

primary
#53178D
secondary
#7FC040
accent
#EF3992
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #53178D

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

Preview Lab → · Contrast checker → · Palette generator →

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