#53167F#53167F

#53167F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.163 H 305.7°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#53167F
RGBrgb(83, 22, 127)
HSLhsl(275, 70%, 29%)
HSVhsv(275, 83%, 50%)
CMYKcmyk(34.6%, 82.7%, 0%, 50.2%)
CIE-LABlab(23.49, 45.99, -46.42)
CIE-LCHlch(23.49, 65.34, 314.73°)
OKLaboklab(36.14% 0.0951 -0.1322)
OKLCHoklch(36.14% 0.163 305.7)
XYZxyz(7.6841, 3.9452, 20.4312)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53167F #427F16
analogous
#1E167F #53167F #7F1677
triadic
#53167F #7F5316 #167F53
tetradic
#53167F #7F1E16 #427F16 #16777F
square
#53167F #7F1E16 #427F16 #16777F
split-complementary
#53167F #777F16 #167F1E
monochromatic
#11051A #310D4B #53167F #751FB3 #9534DC

Accessibility & contrast

On white

11.74
#53167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#53167F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53167F
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53167F#FFFFFF#000000##FFFFFF
##53167F1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#4B324B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #53167f;
/* rgb */ color: rgb(83, 22, 127);
/* oklch */ color: oklch(36.1% 0.163 305.7);
Tailwind
colors: {
  custom: {
    50: '#885ca5',
    500: '#53167f',
    950: '#000000',
  },
}
SCSS
$custom: #53167f;
$custom-light: #885ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#53167f",
  "rgb": {
    "r": 83,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 274.857,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36141,
    "c": 0.16285,
    "h": 305.7
  },
  "luminance": 0.03945
}

Semantic roles & 50–950 ramp

primary
#53167F
secondary
#6FB43D
accent
#ED3B85
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #53167F

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

Preview Lab → · Contrast checker → · Palette generator →

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