#53178E#53178E

#53178E is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.6% C 0.177 H 300.4°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#53178E
RGBrgb(83, 23, 142)
HSLhsl(270, 72%, 32%)
HSVhsv(270, 84%, 56%)
CMYKcmyk(41.5%, 83.8%, 0%, 44.3%)
CIE-LABlab(24.97, 49.23, -53.41)
CIE-LCHlch(24.97, 72.64, 312.67°)
OKLaboklab(37.58% 0.0896 -0.1528)
OKLCHoklch(37.58% 0.177 300.4)
XYZxyz(8.7549, 4.4047, 25.9749)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53178E #528E17
analogous
#18178E #53178E #8E178E
triadic
#53178E #8E5317 #178E53
tetradic
#53178E #8E1817 #528E17 #178E8E
square
#53178E #8E1817 #528E17 #178E8E
split-complementary
#53178E #8E8E17 #178E18
monochromatic
#150625 #340E59 #53178E #7220C3 #903FE0

Accessibility & contrast

On white

11.16
#53178E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #53178E
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53178E#FFFFFF#000000##FFFFFF
##53178E1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#453954
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #53178e;
/* rgb */ color: rgb(83, 23, 142);
/* oklch */ color: oklch(37.6% 0.177 300.4);
Tailwind
colors: {
  custom: {
    50: '#8a5db0',
    500: '#53178e',
    950: '#000000',
  },
}
SCSS
$custom: #53178e;
$custom-light: #8a5db0;
$custom-dark: #000000;
JSON
{
  "hex": "#53178e",
  "rgb": {
    "r": 83,
    "g": 23,
    "b": 142
  },
  "hsl": {
    "h": 270.252,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37583,
    "c": 0.17709,
    "h": 300.4
  },
  "luminance": 0.04405
}

Semantic roles & 50–950 ramp

primary
#53178E
secondary
#80C040
accent
#EF3993
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #53178E

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

Preview Lab → · Contrast checker → · Palette generator →

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