#53126E#53126E

#53126E is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.4% C 0.150 H 313.2°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#53126E
RGBrgb(83, 18, 110)
HSLhsl(282, 72%, 25%)
HSVhsv(282, 84%, 43%)
CMYKcmyk(24.5%, 83.6%, 0%, 56.9%)
CIE-LABlab(21.57, 43.55, -38.65)
CIE-LCHlch(21.57, 58.22, 318.41°)
OKLaboklab(34.36% 0.1028 -0.1094)
OKLCHoklch(34.36% 0.15 313.2)
XYZxyz(6.5976, 3.3976, 15.0571)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53126E #2D6E12
analogous
#25126E #53126E #6E125B
triadic
#53126E #6E5312 #126E53
tetradic
#53126E #6E2512 #2D6E12 #125B6E
square
#53126E #6E2512 #2D6E12 #125B6E
split-complementary
#53126E #5B6E12 #126E25
monochromatic
#14041A #2B0939 #53126E #7B1BA3 #A223D7

Accessibility & contrast

On white

12.50
#53126E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#53126E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53126E
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53126E#FFFFFF#000000##FFFFFF
##53126E1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003070
Deuteranopia (green-blind)
#05356C
Tritanopia (blue-blind)
#502940
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #53126e;
/* rgb */ color: rgb(83, 18, 110);
/* oklch */ color: oklch(34.4% 0.150 313.2);
Tailwind
colors: {
  custom: {
    50: '#875998',
    500: '#53126e',
    950: '#000000',
  },
}
SCSS
$custom: #53126e;
$custom-light: #875998;
$custom-dark: #000000;
JSON
{
  "hex": "#53126e",
  "rgb": {
    "r": 83,
    "g": 18,
    "b": 110
  },
  "hsl": {
    "h": 282.391,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.34355,
    "c": 0.15008,
    "h": 313.2
  },
  "luminance": 0.03397
}

Semantic roles & 50–950 ramp

primary
#53126E
secondary
#57A537
accent
#EF396E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #53126E

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

Preview Lab → · Contrast checker → · Palette generator →

#53126E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva