#53117F#53117F

#53117F is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.167 H 306.2°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#53117F
RGBrgb(83, 17, 127)
HSLhsl(276, 76%, 28%)
HSVhsv(276, 87%, 50%)
CMYKcmyk(34.6%, 86.6%, 0%, 50.2%)
CIE-LABlab(22.90, 47.70, -47.37)
CIE-LCHlch(22.90, 67.22, 315.20°)
OKLaboklab(35.73% 0.0988 -0.135)
OKLCHoklch(35.73% 0.167 306.2)
XYZxyz(7.5976, 3.7723, 20.4024)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53117F #3D7F11
analogous
#1C117F #53117F #7F1174
triadic
#53117F #7F5311 #117F53
tetradic
#53117F #7F1C11 #3D7F11 #11747F
square
#53117F #7F1C11 #3D7F11 #11747F
split-complementary
#53117F #747F11 #117F1C
monochromatic
#12041B #300A49 #53117F #7618B5 #9828E2

Accessibility & contrast

On white

11.97
#53117F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#53117F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53117F
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53117F#FFFFFF#000000##FFFFFF
##53117F1.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003582
Deuteranopia (green-blind)
#00377D
Tritanopia (blue-blind)
#4B304A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #53117f;
/* rgb */ color: rgb(83, 17, 127);
/* oklch */ color: oklch(35.7% 0.167 306.2);
Tailwind
colors: {
  custom: {
    50: '#895aa5',
    500: '#53117f',
    950: '#000000',
  },
}
SCSS
$custom: #53117f;
$custom-light: #895aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#53117f",
  "rgb": {
    "r": 83,
    "g": 17,
    "b": 127
  },
  "hsl": {
    "h": 276,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35734,
    "c": 0.1673,
    "h": 306.2
  },
  "luminance": 0.03772
}

Semantic roles & 50–950 ramp

primary
#53117F
secondary
#69B537
accent
#F33581
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #53117F

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

Preview Lab → · Contrast checker → · Palette generator →

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