#53177D#53177D

#53177D is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.160 H 306.4°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#53177D
RGBrgb(83, 23, 125)
HSLhsl(275, 69%, 29%)
HSVhsv(275, 82%, 49%)
CMYKcmyk(33.6%, 81.6%, 0%, 51%)
CIE-LABlab(23.45, 45.14, -45.22)
CIE-LCHlch(23.45, 63.89, 314.95°)
OKLaboklab(36.06% 0.0948 -0.1287)
OKLCHoklch(36.06% 0.16 306.4)
XYZxyz(7.5745, 3.9325, 19.7581)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53177D #417D17
analogous
#20177D #53177D #7D1774
triadic
#53177D #7D5317 #177D53
tetradic
#53177D #7D2017 #417D17 #17747D
square
#53177D #7D2017 #417D17 #17747D
split-complementary
#53177D #747D17 #177D20
monochromatic
#11051A #310D49 #53177D #7521B1 #9635DA

Accessibility & contrast

On white

11.76
#53177D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#53177D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53177D
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53177D#FFFFFF#000000##FFFFFF
##53177D1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003680
Deuteranopia (green-blind)
#00387B
Tritanopia (blue-blind)
#4B324A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #53177d;
/* rgb */ color: rgb(83, 23, 125);
/* oklch */ color: oklch(36.1% 0.160 306.4);
Tailwind
colors: {
  custom: {
    50: '#885ca3',
    500: '#53177d',
    950: '#000000',
  },
}
SCSS
$custom: #53177d;
$custom-light: #885ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#53177d",
  "rgb": {
    "r": 83,
    "g": 23,
    "b": 125
  },
  "hsl": {
    "h": 275.294,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36058,
    "c": 0.15984,
    "h": 306.4
  },
  "luminance": 0.03932
}

Semantic roles & 50–950 ramp

primary
#53177D
secondary
#6EB23E
accent
#EC3C84
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #53177D

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

Preview Lab → · Contrast checker → · Palette generator →

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