#53188A#53188A

#53188A is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.3% C 0.172 H 301.6°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#53188A
RGBrgb(83, 24, 138)
HSLhsl(271, 70%, 32%)
HSVhsv(271, 83%, 54%)
CMYKcmyk(39.9%, 82.6%, 0%, 45.9%)
CIE-LABlab(24.72, 47.88, -51.31)
CIE-LCHlch(24.72, 70.18, 313.02°)
OKLaboklab(37.3% 0.0901 -0.1466)
OKLCHoklch(37.3% 0.172 301.6)
XYZxyz(8.4802, 4.3272, 24.4283)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53188A #4F8A18
analogous
#1A188A #53188A #8A1888
triadic
#53188A #8A5318 #188A53
tetradic
#53188A #8A1A18 #4F8A18 #18888A
square
#53188A #8A1A18 #4F8A18 #18888A
split-complementary
#53188A #888A18 #188A1A
monochromatic
#140622 #340F56 #53188A #7221BE #913FDE

Accessibility & contrast

On white

11.26
#53188A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#53188A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53188A
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53188A#FFFFFF#000000##FFFFFF
##53188A1.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8D
Deuteranopia (green-blind)
#003A88
Tritanopia (blue-blind)
#473852
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #53188a;
/* rgb */ color: rgb(83, 24, 138);
/* oklch */ color: oklch(37.3% 0.172 301.6);
Tailwind
colors: {
  custom: {
    50: '#895dad',
    500: '#53188a',
    950: '#000000',
  },
}
SCSS
$custom: #53188a;
$custom-light: #895dad;
$custom-dark: #000000;
JSON
{
  "hex": "#53188a",
  "rgb": {
    "r": 83,
    "g": 24,
    "b": 138
  },
  "hsl": {
    "h": 271.053,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37303,
    "c": 0.17211,
    "h": 301.6
  },
  "luminance": 0.04327
}

Semantic roles & 50–950 ramp

primary
#53188A
secondary
#7DBD40
accent
#ED3B91
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #53188A

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

Preview Lab → · Contrast checker → · Palette generator →

#53188A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva