#53178C#53178C

#53178C is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.4% C 0.175 H 301.0°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#53178C
RGBrgb(83, 23, 140)
HSLhsl(271, 72%, 32%)
HSVhsv(271, 84%, 55%)
CMYKcmyk(40.7%, 83.6%, 0%, 45.1%)
CIE-LABlab(24.78, 48.74, -52.47)
CIE-LCHlch(24.78, 71.61, 312.89°)
OKLaboklab(37.4% 0.0903 -0.15)
OKLCHoklch(37.4% 0.175 301)
XYZxyz(8.6061, 4.3452, 25.1912)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53178C #508C17
analogous
#18178C #53178C #8C178B
triadic
#53178C #8C5317 #178C53
tetradic
#53178C #8C1817 #508C17 #178B8C
square
#53178C #8C1817 #508C17 #178B8C
split-complementary
#53178C #8B8C17 #178C18
monochromatic
#150623 #340E57 #53178C #7220C1 #913EDF

Accessibility & contrast

On white

11.24
#53178C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#53178C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53178C
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53178C#FFFFFF#000000##FFFFFF
##53178C1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#463853
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #53178c;
/* rgb */ color: rgb(83, 23, 140);
/* oklch */ color: oklch(37.4% 0.175 301.0);
Tailwind
colors: {
  custom: {
    50: '#8a5daf',
    500: '#53178c',
    950: '#000000',
  },
}
SCSS
$custom: #53178c;
$custom-light: #8a5daf;
$custom-dark: #000000;
JSON
{
  "hex": "#53178c",
  "rgb": {
    "r": 83,
    "g": 23,
    "b": 140
  },
  "hsl": {
    "h": 270.769,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37398,
    "c": 0.17506,
    "h": 301
  },
  "luminance": 0.04345
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #53178C

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

Preview Lab → · Contrast checker → · Palette generator →

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