#531765#531765

#531765 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.1% C 0.136 H 317.2°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#531765
RGBrgb(83, 23, 101)
HSLhsl(286, 63%, 24%)
HSVhsv(286, 77%, 40%)
CMYKcmyk(17.8%, 77.2%, 0%, 60.4%)
CIE-LABlab(21.55, 39.67, -32.82)
CIE-LCHlch(21.55, 51.48, 320.40°)
OKLaboklab(34.12% 0.0995 -0.0923)
OKLCHoklch(34.12% 0.136 317.2)
XYZxyz(6.2223, 3.3916, 12.6363)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531765 #296517
analogous
#2C1765 #531765 #651750
triadic
#531765 #655317 #176553
tetradic
#531765 #652C17 #296517 #175065
square
#531765 #652C17 #296517 #175065
split-complementary
#531765 #506517 #17652C
monochromatic
#140619 #2A0C33 #531765 #7C2297 #A52EC9

Accessibility & contrast

On white

12.51
#531765 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#531765 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531765
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531765#FFFFFF#000000##FFFFFF
##5317651.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003067
Deuteranopia (green-blind)
#193563
Tritanopia (blue-blind)
#52273C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #531765;
/* rgb */ color: rgb(83, 23, 101);
/* oklch */ color: oklch(34.1% 0.136 317.2);
Tailwind
colors: {
  custom: {
    50: '#865b91',
    500: '#531765',
    950: '#000000',
  },
}
SCSS
$custom: #531765;
$custom-light: #865b91;
$custom-dark: #000000;
JSON
{
  "hex": "#531765",
  "rgb": {
    "r": 83,
    "g": 23,
    "b": 101
  },
  "hsl": {
    "h": 286.154,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34122,
    "c": 0.13572,
    "h": 317.2
  },
  "luminance": 0.03391
}

Semantic roles & 50–950 ramp

primary
#531765
secondary
#529B3C
accent
#E64268
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #531765

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

Preview Lab → · Contrast checker → · Palette generator →

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