#53127A#53127A

#53127A is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.162 H 308.1°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#53127A
RGBrgb(83, 18, 122)
HSLhsl(278, 74%, 27%)
HSVhsv(278, 85%, 48%)
CMYKcmyk(32%, 85.2%, 0%, 52.2%)
CIE-LABlab(22.57, 46.23, -44.73)
CIE-LCHlch(22.57, 64.33, 315.94°)
OKLaboklab(35.37% 0.0997 -0.1272)
OKLCHoklch(35.37% 0.162 308.1)
XYZxyz(7.2957, 3.6769, 18.7339)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53127A #397A12
analogous
#1F127A #53127A #7A126D
triadic
#53127A #7A5312 #127A53
tetradic
#53127A #7A1F12 #397A12 #126D7A
square
#53127A #7A1F12 #397A12 #126D7A
split-complementary
#53127A #6D7A12 #127A1F
monochromatic
#12041B #2F0A45 #53127A #771AAF #9A27DF

Accessibility & contrast

On white

12.10
#53127A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#53127A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53127A
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53127A#FFFFFF#000000##FFFFFF
##53127A1.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347D
Deuteranopia (green-blind)
#003678
Tritanopia (blue-blind)
#4D2E47
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #53127a;
/* rgb */ color: rgb(83, 18, 122);
/* oklch */ color: oklch(35.4% 0.162 308.1);
Tailwind
colors: {
  custom: {
    50: '#885aa1',
    500: '#53127a',
    950: '#000000',
  },
}
SCSS
$custom: #53127a;
$custom-light: #885aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#53127a",
  "rgb": {
    "r": 83,
    "g": 18,
    "b": 122
  },
  "hsl": {
    "h": 277.5,
    "s": 74.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.35368,
    "c": 0.16163,
    "h": 308.1
  },
  "luminance": 0.03677
}

Semantic roles & 50–950 ramp

primary
#53127A
secondary
#65B038
accent
#F1377D
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #53127A

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

Preview Lab → · Contrast checker → · Palette generator →

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