#53127F#53127F

#53127F is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.8% C 0.166 H 306.1°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#53127F
RGBrgb(83, 18, 127)
HSLhsl(276, 75%, 28%)
HSVhsv(276, 86%, 50%)
CMYKcmyk(34.6%, 85.8%, 0%, 50.2%)
CIE-LABlab(23.01, 47.38, -47.19)
CIE-LCHlch(23.01, 66.87, 315.11°)
OKLaboklab(35.81% 0.0981 -0.1345)
OKLCHoklch(35.81% 0.166 306.1)
XYZxyz(7.6135, 3.8040, 20.4077)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53127F #3E7F12
analogous
#1D127F #53127F #7F1274
triadic
#53127F #7F5312 #127F53
tetradic
#53127F #7F1D12 #3E7F12 #12747F
square
#53127F #7F1D12 #3E7F12 #12747F
split-complementary
#53127F #747F12 #127F1D
monochromatic
#12041B #300A49 #53127F #761AB5 #972BE1

Accessibility & contrast

On white

11.93
#53127F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#53127F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53127F
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53127F#FFFFFF#000000##FFFFFF
##53127F1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003582
Deuteranopia (green-blind)
#00377D
Tritanopia (blue-blind)
#4B314A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #53127f;
/* rgb */ color: rgb(83, 18, 127);
/* oklch */ color: oklch(35.8% 0.166 306.1);
Tailwind
colors: {
  custom: {
    50: '#895aa5',
    500: '#53127f',
    950: '#000000',
  },
}
SCSS
$custom: #53127f;
$custom-light: #895aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#53127f",
  "rgb": {
    "r": 83,
    "g": 18,
    "b": 127
  },
  "hsl": {
    "h": 275.78,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.35809,
    "c": 0.16647,
    "h": 306.1
  },
  "luminance": 0.03804
}

Semantic roles & 50–950 ramp

primary
#53127F
secondary
#6AB538
accent
#F23682
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #53127F

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

Preview Lab → · Contrast checker → · Palette generator →

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