#53126F#53126F

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

Color values

HEX#53126F
RGBrgb(83, 18, 111)
HSLhsl(282, 72%, 25%)
HSVhsv(282, 84%, 44%)
CMYKcmyk(25.2%, 83.8%, 0%, 56.5%)
CIE-LABlab(21.65, 43.76, -39.16)
CIE-LCHlch(21.65, 58.73, 318.17°)
OKLaboklab(34.44% 0.1026 -0.1109)
OKLCHoklch(34.44% 0.151 312.8)
XYZxyz(6.6523, 3.4195, 15.3454)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53126F #2E6F12
analogous
#24126F #53126F #6F125D
triadic
#53126F #6F5312 #126F53
tetradic
#53126F #6F2412 #2E6F12 #125D6F
square
#53126F #6F2412 #2E6F12 #125D6F
split-complementary
#53126F #5D6F12 #126F24
monochromatic
#14041A #2C093A #53126F #7A1BA4 #A223D8

Accessibility & contrast

On white

12.47
#53126F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #53126F
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53126F#FFFFFF#000000##FFFFFF
##53126F1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003171
Deuteranopia (green-blind)
#02356D
Tritanopia (blue-blind)
#502941
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #53126f;
/* rgb */ color: rgb(83, 18, 111);
/* oklch */ color: oklch(34.4% 0.151 312.8);
Tailwind
colors: {
  custom: {
    50: '#875999',
    500: '#53126f',
    950: '#000000',
  },
}
SCSS
$custom: #53126f;
$custom-light: #875999;
$custom-dark: #000000;
JSON
{
  "hex": "#53126f",
  "rgb": {
    "r": 83,
    "g": 18,
    "b": 111
  },
  "hsl": {
    "h": 281.935,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34437,
    "c": 0.15104,
    "h": 312.8
  },
  "luminance": 0.03419
}

Semantic roles & 50–950 ramp

primary
#53126F
secondary
#58A637
accent
#EF3970
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #53126F

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

Preview Lab → · Contrast checker → · Palette generator →

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