#531165#531165

#531165 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.6% C 0.143 H 317.7°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#531165
RGBrgb(83, 17, 101)
HSLhsl(287, 71%, 23%)
HSVhsv(287, 83%, 40%)
CMYKcmyk(17.8%, 83.2%, 0%, 60.4%)
CIE-LABlab(20.75, 41.96, -34.10)
CIE-LCHlch(20.75, 54.07, 320.90°)
OKLaboklab(33.56% 0.1054 -0.096)
OKLCHoklch(33.56% 0.143 317.7)
XYZxyz(6.1164, 3.1798, 12.6010)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531165 #236511
analogous
#291165 #531165 #65114D
triadic
#531165 #655311 #116553
tetradic
#531165 #652911 #236511 #114D65
square
#531165 #652911 #236511 #114D65
split-complementary
#531165 #4D6511 #116529
monochromatic
#16041A #280831 #531165 #7E1A99 #A923CE

Accessibility & contrast

On white

12.84
#531165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#531165 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531165
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531165#FFFFFF#000000##FFFFFF
##5311651.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E67
Deuteranopia (green-blind)
#143463
Tritanopia (blue-blind)
#52243B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #531165;
/* rgb */ color: rgb(83, 17, 101);
/* oklch */ color: oklch(33.6% 0.143 317.7);
Tailwind
colors: {
  custom: {
    50: '#875891',
    500: '#531165',
    950: '#000000',
  },
}
SCSS
$custom: #531165;
$custom-light: #875891;
$custom-dark: #000000;
JSON
{
  "hex": "#531165",
  "rgb": {
    "r": 83,
    "g": 17,
    "b": 101
  },
  "hsl": {
    "h": 287.143,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33556,
    "c": 0.1426,
    "h": 317.7
  },
  "luminance": 0.03179
}

Semantic roles & 50–950 ramp

primary
#531165
secondary
#4B9D35
accent
#EE3A60
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #531165

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

Preview Lab → · Contrast checker → · Palette generator →

#531165 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva