#53127C#53127C

#53127C is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.5% C 0.164 H 307.3°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#53127C
RGBrgb(83, 18, 124)
HSLhsl(277, 75%, 28%)
HSVhsv(277, 85%, 49%)
CMYKcmyk(33.1%, 85.5%, 0%, 51.4%)
CIE-LABlab(22.75, 46.69, -45.72)
CIE-LCHlch(22.75, 65.35, 315.60°)
OKLaboklab(35.54% 0.0991 -0.1301)
OKLCHoklch(35.54% 0.164 307.3)
XYZxyz(7.4209, 3.7269, 19.3933)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53127C #3B7C12
analogous
#1E127C #53127C #7C1270
triadic
#53127C #7C5312 #127C53
tetradic
#53127C #7C1E12 #3B7C12 #12707C
square
#53127C #7C1E12 #3B7C12 #12707C
split-complementary
#53127C #707C12 #127C1E
monochromatic
#12041B #2F0A47 #53127C #771AB1 #9929E0

Accessibility & contrast

On white

12.03
#53127C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #53127C
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53127C#FFFFFF#000000##FFFFFF
##53127C1.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347F
Deuteranopia (green-blind)
#00377A
Tritanopia (blue-blind)
#4C2F49
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #53127c;
/* rgb */ color: rgb(83, 18, 124);
/* oklch */ color: oklch(35.5% 0.164 307.3);
Tailwind
colors: {
  custom: {
    50: '#885aa3',
    500: '#53127c',
    950: '#000000',
  },
}
SCSS
$custom: #53127c;
$custom-light: #885aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#53127c",
  "rgb": {
    "r": 83,
    "g": 18,
    "b": 124
  },
  "hsl": {
    "h": 276.792,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35543,
    "c": 0.16356,
    "h": 307.3
  },
  "luminance": 0.03727
}

Semantic roles & 50–950 ramp

primary
#53127C
secondary
#67B238
accent
#F1377F
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #53127C

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

Preview Lab → · Contrast checker → · Palette generator →

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