#53117C#53117C

#53117C is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.5% C 0.164 H 307.4°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#53117C
RGBrgb(83, 17, 124)
HSLhsl(277, 76%, 28%)
HSVhsv(277, 86%, 49%)
CMYKcmyk(33.1%, 86.3%, 0%, 51.4%)
CIE-LABlab(22.64, 47.01, -45.90)
CIE-LCHlch(22.64, 65.70, 315.68°)
OKLaboklab(35.47% 0.0998 -0.1307)
OKLCHoklch(35.47% 0.164 307.4)
XYZxyz(7.4050, 3.6952, 19.3880)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53117C #3A7C11
analogous
#1D117C #53117C #7C1170
triadic
#53117C #7C5311 #117C53
tetradic
#53117C #7C1D11 #3A7C11 #11707C
square
#53117C #7C1D11 #3A7C11 #11707C
split-complementary
#53117C #707C11 #117C1D
monochromatic
#12041B #2F0A46 #53117C #7718B2 #9A26E1

Accessibility & contrast

On white

12.08
#53117C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #53117C
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53117C#FFFFFF#000000##FFFFFF
##53117C1.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347F
Deuteranopia (green-blind)
#00377A
Tritanopia (blue-blind)
#4C2F48
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #53117c;
/* rgb */ color: rgb(83, 17, 124);
/* oklch */ color: oklch(35.5% 0.164 307.4);
Tailwind
colors: {
  custom: {
    50: '#885aa3',
    500: '#53117c',
    950: '#000000',
  },
}
SCSS
$custom: #53117c;
$custom-light: #885aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#53117c",
  "rgb": {
    "r": 83,
    "g": 17,
    "b": 124
  },
  "hsl": {
    "h": 277.009,
    "s": 75.887,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35467,
    "c": 0.16441,
    "h": 307.4
  },
  "luminance": 0.03695
}

Semantic roles & 50–950 ramp

primary
#53117C
secondary
#66B237
accent
#F2357E
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #53117C

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

Preview Lab → · Contrast checker → · Palette generator →

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