#523887#523887

#523887 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.2% C 0.127 H 295.5°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#523887
RGBrgb(82, 56, 135)
HSLhsl(260, 41%, 37%)
HSVhsv(260, 59%, 53%)
CMYKcmyk(39.3%, 58.5%, 0%, 47.1%)
CIE-LABlab(30.33, 30.42, -40.36)
CIE-LCHlch(30.33, 50.54, 307.01°)
OKLaboklab(41.22% 0.0546 -0.1146)
OKLCHoklch(41.22% 0.127 295.5)
XYZxyz(9.2659, 6.3713, 23.6586)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523887 #6D8738
analogous
#384587 #523887 #7A3887
triadic
#523887 #875238 #388752
tetradic
#523887 #873845 #6D8738 #38877A
square
#523887 #873845 #6D8738 #38877A
split-complementary
#523887 #877A38 #458738
monochromatic
#1D1430 #38265C #523887 #6C4AB2 #8F74C5

Accessibility & contrast

On white

9.23
#523887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#523887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523887
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523887#FFFFFF#000000##FFFFFF
##5238871.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F488A
Deuteranopia (green-blind)
#194685
Tritanopia (blue-blind)
#45495A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #523887;
/* rgb */ color: rgb(82, 56, 135);
/* oklch */ color: oklch(41.2% 0.127 295.5);
Tailwind
colors: {
  custom: {
    50: '#866faa',
    500: '#523887',
    950: '#000000',
  },
}
SCSS
$custom: #523887;
$custom-light: #866faa;
$custom-dark: #000000;
JSON
{
  "hex": "#523887",
  "rgb": {
    "r": 82,
    "g": 56,
    "b": 135
  },
  "hsl": {
    "h": 259.747,
    "s": 41.361,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41217,
    "c": 0.12693,
    "h": 295.5
  },
  "luminance": 0.06371
}

Semantic roles & 50–950 ramp

primary
#523887
secondary
#99AE6D
accent
#D157A9
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #523887

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

Preview Lab → · Contrast checker → · Palette generator →

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