#523B83#523B83

#523B83 is a dark, moderate violet. Relative luminance 0.066; OKLCH L 41.5% C 0.117 H 295.6°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#523B83
RGBrgb(82, 59, 131)
HSLhsl(259, 38%, 37%)
HSVhsv(259, 55%, 51%)
CMYKcmyk(37.4%, 55%, 0%, 48.6%)
CIE-LABlab(30.78, 27.41, -37.15)
CIE-LCHlch(30.78, 46.16, 306.42°)
OKLaboklab(41.47% 0.0504 -0.1052)
OKLCHoklch(41.47% 0.117 295.6)
XYZxyz(9.1393, 6.5603, 22.2531)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523B83 #6C833B
analogous
#3B4883 #523B83 #763B83
triadic
#523B83 #83523B #3B8352
tetradic
#523B83 #833B48 #6C833B #3B8376
square
#523B83 #833B48 #6C833B #3B8376
split-complementary
#523B83 #83763B #48833B
monochromatic
#1D152F #382859 #523B83 #6C4EAD #8F77C2

Accessibility & contrast

On white

9.08
#523B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#523B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523B83
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523B83#FFFFFF#000000##FFFFFF
##523B831.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4985
Deuteranopia (green-blind)
#234781
Tritanopia (blue-blind)
#464A59
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #523b83;
/* rgb */ color: rgb(82, 59, 131);
/* oklch */ color: oklch(41.5% 0.117 295.6);
Tailwind
colors: {
  custom: {
    50: '#8671a7',
    500: '#523b83',
    950: '#000000',
  },
}
SCSS
$custom: #523b83;
$custom-light: #8671a7;
$custom-dark: #000000;
JSON
{
  "hex": "#523b83",
  "rgb": {
    "r": 82,
    "g": 59,
    "b": 131
  },
  "hsl": {
    "h": 259.167,
    "s": 37.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41467,
    "c": 0.11663,
    "h": 295.6
  },
  "luminance": 0.0656
}

Semantic roles & 50–950 ramp

primary
#523B83
secondary
#98AB6F
accent
#CE5AA9
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0B080F
muted
#7C7B7F

Preview Lab

Preview with #523B83

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

Preview Lab → · Contrast checker → · Palette generator →

#523B83 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva