#53127D#53127D

#53127D is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.165 H 306.9°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#53127D
RGBrgb(83, 18, 125)
HSLhsl(276, 75%, 28%)
HSVhsv(276, 86%, 49%)
CMYKcmyk(33.6%, 85.6%, 0%, 51%)
CIE-LABlab(22.84, 46.92, -46.21)
CIE-LCHlch(22.84, 65.86, 315.43°)
OKLaboklab(35.63% 0.0988 -0.1316)
OKLCHoklch(35.63% 0.165 306.9)
XYZxyz(7.4844, 3.7524, 19.7281)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53127D #3C7D12
analogous
#1E127D #53127D #7D1271
triadic
#53127D #7D5312 #127D53
tetradic
#53127D #7D1E12 #3C7D12 #12717D
square
#53127D #7D1E12 #3C7D12 #12717D
split-complementary
#53127D #717D12 #127D1E
monochromatic
#12041B #2F0A48 #53127D #771AB2 #9829E0

Accessibility & contrast

On white

12.00
#53127D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#53127D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53127D
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53127D#FFFFFF#000000##FFFFFF
##53127D1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003580
Deuteranopia (green-blind)
#00377B
Tritanopia (blue-blind)
#4C3049
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #53127d;
/* rgb */ color: rgb(83, 18, 125);
/* oklch */ color: oklch(35.6% 0.165 306.9);
Tailwind
colors: {
  custom: {
    50: '#885aa3',
    500: '#53127d',
    950: '#000000',
  },
}
SCSS
$custom: #53127d;
$custom-light: #885aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#53127d",
  "rgb": {
    "r": 83,
    "g": 18,
    "b": 125
  },
  "hsl": {
    "h": 276.449,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35631,
    "c": 0.16453,
    "h": 306.9
  },
  "luminance": 0.03752
}

Semantic roles & 50–950 ramp

primary
#53127D
secondary
#68B338
accent
#F13680
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #53127D

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

Preview Lab → · Contrast checker → · Palette generator →

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