#53187D#53187D

#53187D is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.159 H 306.3°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#53187D
RGBrgb(83, 24, 125)
HSLhsl(275, 68%, 29%)
HSVhsv(275, 81%, 49%)
CMYKcmyk(33.6%, 80.8%, 0%, 51%)
CIE-LABlab(23.58, 44.75, -45.00)
CIE-LCHlch(23.58, 63.46, 314.84°)
OKLaboklab(36.15% 0.0939 -0.1281)
OKLCHoklch(36.15% 0.159 306.3)
XYZxyz(7.5948, 3.9730, 19.7648)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53187D #427D18
analogous
#21187D #53187D #7D1875
triadic
#53187D #7D5318 #187D53
tetradic
#53187D #7D2118 #427D18 #18757D
square
#53187D #7D2118 #427D18 #18757D
split-complementary
#53187D #757D18 #187D21
monochromatic
#11051A #310E4A #53187D #7522B0 #9537D9

Accessibility & contrast

On white

11.70
#53187D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #53187D
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53187D#FFFFFF#000000##FFFFFF
##53187D1.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.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: #53187d;
/* rgb */ color: rgb(83, 24, 125);
/* oklch */ color: oklch(36.2% 0.159 306.3);
Tailwind
colors: {
  custom: {
    50: '#885da3',
    500: '#53187d',
    950: '#000000',
  },
}
SCSS
$custom: #53187d;
$custom-light: #885da3;
$custom-dark: #000000;
JSON
{
  "hex": "#53187d",
  "rgb": {
    "r": 83,
    "g": 24,
    "b": 125
  },
  "hsl": {
    "h": 275.05,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36152,
    "c": 0.15881,
    "h": 306.3
  },
  "luminance": 0.03973
}

Semantic roles & 50–950 ramp

primary
#53187D
secondary
#6FB23F
accent
#EB3D85
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #53187D

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

Preview Lab → · Contrast checker → · Palette generator →

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