#53177F#53177F

#53177F is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.162 H 305.6°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#53177F
RGBrgb(83, 23, 127)
HSLhsl(275, 69%, 29%)
HSVhsv(275, 82%, 50%)
CMYKcmyk(34.6%, 81.9%, 0%, 50.2%)
CIE-LABlab(23.62, 45.61, -46.20)
CIE-LCHlch(23.62, 64.92, 314.63°)
OKLaboklab(36.23% 0.0942 -0.1316)
OKLCHoklch(36.23% 0.162 305.6)
XYZxyz(7.7036, 3.9842, 20.4377)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53177F #437F17
analogous
#1F177F #53177F #7F1777
triadic
#53177F #7F5317 #177F53
tetradic
#53177F #7F1F17 #437F17 #17777F
square
#53177F #7F1F17 #437F17 #17777F
split-complementary
#53177F #777F17 #177F1F
monochromatic
#11051A #310E4B #53177F #7520B3 #9536DB

Accessibility & contrast

On white

11.69
#53177F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#53177F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53177F
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53177F#FFFFFF#000000##FFFFFF
##53177F1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#4B334B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #53177f;
/* rgb */ color: rgb(83, 23, 127);
/* oklch */ color: oklch(36.2% 0.162 305.6);
Tailwind
colors: {
  custom: {
    50: '#885ca5',
    500: '#53177f',
    950: '#000000',
  },
}
SCSS
$custom: #53177f;
$custom-light: #885ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#53177f",
  "rgb": {
    "r": 83,
    "g": 23,
    "b": 127
  },
  "hsl": {
    "h": 274.615,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36231,
    "c": 0.16187,
    "h": 305.6
  },
  "luminance": 0.03984
}

Semantic roles & 50–950 ramp

primary
#53177F
secondary
#70B43E
accent
#EC3C86
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #53177F

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

Preview Lab → · Contrast checker → · Palette generator →

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