#53316F#53316F

#53316F is a dark, moderate violet. Relative luminance 0.052; OKLCH L 38.5% C 0.107 H 307.4°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#53316F
RGBrgb(83, 49, 111)
HSLhsl(273, 39%, 31%)
HSVhsv(273, 56%, 44%)
CMYKcmyk(25.2%, 55.9%, 0%, 56.5%)
CIE-LABlab(27.25, 28.36, -30.17)
CIE-LCHlch(27.25, 41.41, 313.23°)
OKLaboklab(38.47% 0.0649 -0.0847)
OKLCHoklch(38.47% 0.107 307.4)
XYZxyz(7.5343, 5.1834, 15.6394)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53316F #4D6F31
analogous
#34316F #53316F #6F316C
triadic
#53316F #6F5331 #316F53
tetradic
#53316F #6F3431 #4D6F31 #316C6F
square
#53316F #6F3431 #4D6F31 #316C6F
split-complementary
#53316F #6C6F31 #316F34
monochromatic
#140C1A #331E45 #53316F #734499 #9161B9

Accessibility & contrast

On white

10.31
#53316F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#53316F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53316F
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53316F#FFFFFF#000000##FFFFFF
##53316F1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3F71
Deuteranopia (green-blind)
#29416D
Tritanopia (blue-blind)
#4F3C4B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #53316f;
/* rgb */ color: rgb(83, 49, 111);
/* oklch */ color: oklch(38.5% 0.107 307.4);
Tailwind
colors: {
  custom: {
    50: '#856a99',
    500: '#53316f',
    950: '#000000',
  },
}
SCSS
$custom: #53316f;
$custom-light: #856a99;
$custom-dark: #000000;
JSON
{
  "hex": "#53316f",
  "rgb": {
    "r": 83,
    "g": 49,
    "b": 111
  },
  "hsl": {
    "h": 272.903,
    "s": 38.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38473,
    "c": 0.10668,
    "h": 307.4
  },
  "luminance": 0.05183
}

Semantic roles & 50–950 ramp

primary
#53316F
secondary
#7BA05C
accent
#CF598E
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #53316F

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

Preview Lab → · Contrast checker → · Palette generator →

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