#53117D#53117D

#53117D is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.6% C 0.165 H 307.0°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#53117D
RGBrgb(83, 17, 125)
HSLhsl(277, 76%, 28%)
HSVhsv(277, 86%, 49%)
CMYKcmyk(33.6%, 86.4%, 0%, 51%)
CIE-LABlab(22.73, 47.24, -46.39)
CIE-LCHlch(22.73, 66.21, 315.52°)
OKLaboklab(35.56% 0.0995 -0.1321)
OKLCHoklch(35.56% 0.165 307)
XYZxyz(7.4686, 3.7207, 19.7228)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53117D #3B7D11
analogous
#1D117D #53117D #7D1171
triadic
#53117D #7D5311 #117D53
tetradic
#53117D #7D1D11 #3B7D11 #11717D
square
#53117D #7D1D11 #3B7D11 #11717D
split-complementary
#53117D #717D11 #117D1D
monochromatic
#12041B #2F0A47 #53117D #7718B3 #9927E2

Accessibility & contrast

On white

12.04
#53117D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#53117D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53117D
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53117D#FFFFFF#000000##FFFFFF
##53117D1.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003480
Deuteranopia (green-blind)
#00377B
Tritanopia (blue-blind)
#4C2F49
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #53117d;
/* rgb */ color: rgb(83, 17, 125);
/* oklch */ color: oklch(35.6% 0.165 307.0);
Tailwind
colors: {
  custom: {
    50: '#885aa3',
    500: '#53117d',
    950: '#000000',
  },
}
SCSS
$custom: #53117d;
$custom-light: #885aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#53117d",
  "rgb": {
    "r": 83,
    "g": 17,
    "b": 125
  },
  "hsl": {
    "h": 276.667,
    "s": 76.056,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35555,
    "c": 0.16537,
    "h": 307
  },
  "luminance": 0.03721
}

Semantic roles & 50–950 ramp

primary
#53117D
secondary
#67B337
accent
#F3357F
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #53117D

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

Preview Lab → · Contrast checker → · Palette generator →

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