#53117E#53117E

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

Color values

HEX#53117E
RGBrgb(83, 17, 126)
HSLhsl(276, 76%, 28%)
HSVhsv(276, 87%, 49%)
CMYKcmyk(34.1%, 86.5%, 0%, 50.6%)
CIE-LABlab(22.81, 47.47, -46.88)
CIE-LCHlch(22.81, 66.72, 315.36°)
OKLaboklab(35.64% 0.0992 -0.1336)
OKLCHoklch(35.64% 0.166 306.6)
XYZxyz(7.5328, 3.7463, 20.0609)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53117E #3C7E11
analogous
#1C117E #53117E #7E1172
triadic
#53117E #7E5311 #117E53
tetradic
#53117E #7E1C11 #3C7E11 #11727E
square
#53117E #7E1C11 #3C7E11 #11727E
split-complementary
#53117E #727E11 #117E1C
monochromatic
#12041B #2F0A48 #53117E #7718B4 #9827E2

Accessibility & contrast

On white

12.01
#53117E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #53117E
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53117E#FFFFFF#000000##FFFFFF
##53117E1.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#00377C
Tritanopia (blue-blind)
#4B304A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #53117e;
/* rgb */ color: rgb(83, 17, 126);
/* oklch */ color: oklch(35.6% 0.166 306.6);
Tailwind
colors: {
  custom: {
    50: '#895aa4',
    500: '#53117e',
    950: '#000000',
  },
}
SCSS
$custom: #53117e;
$custom-light: #895aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#53117e",
  "rgb": {
    "r": 83,
    "g": 17,
    "b": 126
  },
  "hsl": {
    "h": 276.33,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35644,
    "c": 0.16634,
    "h": 306.6
  },
  "luminance": 0.03746
}

Semantic roles & 50–950 ramp

primary
#53117E
secondary
#68B437
accent
#F33580
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #53117E

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

Preview Lab → · Contrast checker → · Palette generator →

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