#53168D#53168D

#53168D is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.4% C 0.177 H 300.8°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#53168D
RGBrgb(83, 22, 141)
HSLhsl(271, 73%, 32%)
HSVhsv(271, 84%, 55%)
CMYKcmyk(41.1%, 84.4%, 0%, 44.7%)
CIE-LABlab(24.75, 49.34, -53.14)
CIE-LCHlch(24.75, 72.51, 312.88°)
OKLaboklab(37.41% 0.0906 -0.152)
OKLCHoklch(37.41% 0.177 300.8)
XYZxyz(8.6607, 4.3358, 25.5748)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53168D #508D16
analogous
#17168D #53168D #8D168C
triadic
#53168D #8D5316 #168D53
tetradic
#53168D #8D1716 #508D16 #168C8D
square
#53168D #8D1716 #508D16 #168C8D
split-complementary
#53168D #8C8D16 #168D17
monochromatic
#150523 #340E58 #53168D #721EC2 #913DE1

Accessibility & contrast

On white

11.25
#53168D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#53168D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53168D
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53168D#FFFFFF#000000##FFFFFF
##53168D1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #53168d;
/* rgb */ color: rgb(83, 22, 141);
/* oklch */ color: oklch(37.4% 0.177 300.8);
Tailwind
colors: {
  custom: {
    50: '#8a5daf',
    500: '#53168d',
    950: '#000000',
  },
}
SCSS
$custom: #53168d;
$custom-light: #8a5daf;
$custom-dark: #000000;
JSON
{
  "hex": "#53168d",
  "rgb": {
    "r": 83,
    "g": 22,
    "b": 141
  },
  "hsl": {
    "h": 270.756,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37406,
    "c": 0.17693,
    "h": 300.8
  },
  "luminance": 0.04336
}

Semantic roles & 50–950 ramp

primary
#53168D
secondary
#7EC13E
accent
#F03892
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #53168D

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

Preview Lab → · Contrast checker → · Palette generator →

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