#53168C#53168C

#53168C is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.3% C 0.176 H 301.1°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#53168C
RGBrgb(83, 22, 140)
HSLhsl(271, 73%, 32%)
HSVhsv(271, 84%, 55%)
CMYKcmyk(40.7%, 84.3%, 0%, 45.1%)
CIE-LABlab(24.66, 49.10, -52.67)
CIE-LCHlch(24.66, 72.00, 312.99°)
OKLaboklab(37.31% 0.091 -0.1506)
OKLCHoklch(37.31% 0.176 301.1)
XYZxyz(8.5866, 4.3062, 25.1847)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53168C #4F8C16
analogous
#18168C #53168C #8C168A
triadic
#53168C #8C5316 #168C53
tetradic
#53168C #8C1816 #4F8C16 #168A8C
square
#53168C #8C1816 #4F8C16 #168A8C
split-complementary
#53168C #8A8C16 #168C18
monochromatic
#140522 #340E57 #53168C #721EC1 #913CE0

Accessibility & contrast

On white

11.28
#53168C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#53168C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53168C
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53168C#FFFFFF#000000##FFFFFF
##53168C1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.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: #53168c;
/* rgb */ color: rgb(83, 22, 140);
/* oklch */ color: oklch(37.3% 0.176 301.1);
Tailwind
colors: {
  custom: {
    50: '#8a5daf',
    500: '#53168c',
    950: '#000000',
  },
}
SCSS
$custom: #53168c;
$custom-light: #8a5daf;
$custom-dark: #000000;
JSON
{
  "hex": "#53168c",
  "rgb": {
    "r": 83,
    "g": 22,
    "b": 140
  },
  "hsl": {
    "h": 271.017,
    "s": 72.84,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37313,
    "c": 0.17593,
    "h": 301.1
  },
  "luminance": 0.04306
}

Semantic roles & 50–950 ramp

primary
#53168C
secondary
#7DC03E
accent
#F03891
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #53168C

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

Preview Lab → · Contrast checker → · Palette generator →

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