#523587#523587

#523587 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 40.7% C 0.132 H 296.4°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#523587
RGBrgb(82, 53, 135)
HSLhsl(261, 44%, 37%)
HSVhsv(261, 61%, 53%)
CMYKcmyk(39.3%, 60.7%, 0%, 47.1%)
CIE-LABlab(29.64, 32.24, -41.47)
CIE-LCHlch(29.64, 52.53, 307.86°)
OKLaboklab(40.71% 0.0585 -0.1179)
OKLCHoklch(40.71% 0.132 296.4)
XYZxyz(9.1248, 6.0892, 23.6115)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523587 #6A8735
analogous
#354187 #523587 #7B3587
triadic
#523587 #875235 #358752
tetradic
#523587 #873541 #6A8735 #35877B
square
#523587 #873541 #6A8735 #35877B
split-complementary
#523587 #877B35 #418735
monochromatic
#1D122F #37245B #523587 #6D46B3 #8E70C7

Accessibility & contrast

On white

9.47
#523587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#523587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523587
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523587#FFFFFF#000000##FFFFFF
##5235871.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02468A
Deuteranopia (green-blind)
#134585
Tritanopia (blue-blind)
#454758
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #523587;
/* rgb */ color: rgb(82, 53, 135);
/* oklch */ color: oklch(40.7% 0.132 296.4);
Tailwind
colors: {
  custom: {
    50: '#866daa',
    500: '#523587',
    950: '#000000',
  },
}
SCSS
$custom: #523587;
$custom-light: #866daa;
$custom-dark: #000000;
JSON
{
  "hex": "#523587",
  "rgb": {
    "r": 82,
    "g": 53,
    "b": 135
  },
  "hsl": {
    "h": 261.22,
    "s": 43.617,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40708,
    "c": 0.13159,
    "h": 296.4
  },
  "luminance": 0.06089
}

Semantic roles & 50–950 ramp

primary
#523587
secondary
#96AF69
accent
#D354A6
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #523587

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

Preview Lab → · Contrast checker → · Palette generator →

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