#53168E#53168E

#53168E is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.178 H 300.5°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#53168E
RGBrgb(83, 22, 142)
HSLhsl(271, 73%, 32%)
HSVhsv(271, 85%, 56%)
CMYKcmyk(41.5%, 84.5%, 0%, 44.3%)
CIE-LABlab(24.85, 49.58, -53.61)
CIE-LCHlch(24.85, 73.02, 312.77°)
OKLaboklab(37.5% 0.0903 -0.1533)
OKLCHoklch(37.5% 0.178 300.5)
XYZxyz(8.7355, 4.3657, 25.9684)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53168E #518E16
analogous
#17168E #53168E #8E168D
triadic
#53168E #8E5316 #168E53
tetradic
#53168E #8E1716 #518E16 #168D8E
square
#53168E #8E1716 #518E16 #168D8E
split-complementary
#53168E #8D8E16 #168E17
monochromatic
#150624 #340E59 #53168E #721EC3 #913DE1

Accessibility & contrast

On white

11.21
#53168E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #53168E
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53168E#FFFFFF#000000##FFFFFF
##53168E1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.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: #53168e;
/* rgb */ color: rgb(83, 22, 142);
/* oklch */ color: oklch(37.5% 0.178 300.5);
Tailwind
colors: {
  custom: {
    50: '#8a5db0',
    500: '#53168e',
    950: '#000000',
  },
}
SCSS
$custom: #53168e;
$custom-light: #8a5db0;
$custom-dark: #000000;
JSON
{
  "hex": "#53168e",
  "rgb": {
    "r": 83,
    "g": 22,
    "b": 142
  },
  "hsl": {
    "h": 270.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37499,
    "c": 0.17794,
    "h": 300.5
  },
  "luminance": 0.04366
}

Semantic roles & 50–950 ramp

primary
#53168E
secondary
#7FC13F
accent
#F03892
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #53168E

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

Preview Lab → · Contrast checker → · Palette generator →

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