#523099#523099

#523099 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.4% C 0.162 H 292.8°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#523099
RGBrgb(82, 48, 153)
HSLhsl(259, 52%, 39%)
HSVhsv(259, 69%, 60%)
CMYKcmyk(46.4%, 68.6%, 0%, 40%)
CIE-LABlab(29.93, 40.29, -52.08)
CIE-LCHlch(29.93, 65.85, 307.73°)
OKLaboklab(41.35% 0.0627 -0.1491)
OKLCHoklch(41.35% 0.162 292.8)
XYZxyz(10.2848, 6.2073, 30.7871)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523099 #779930
analogous
#304299 #523099 #873099
triadic
#523099 #995230 #309952
tetradic
#523099 #993042 #779930 #309987
square
#523099 #993042 #779930 #309987
split-complementary
#523099 #998730 #429930
monochromatic
#20133C #39216A #523099 #6C42C4 #9171D2

Accessibility & contrast

On white

9.37
#523099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#523099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523099
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523099#FFFFFF#000000##FFFFFF
##5230991.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#004497
Tritanopia (blue-blind)
#3D4A60
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #523099;
/* rgb */ color: rgb(82, 48, 153);
/* oklch */ color: oklch(41.4% 0.162 292.8);
Tailwind
colors: {
  custom: {
    50: '#896bb8',
    500: '#523099',
    950: '#000000',
  },
}
SCSS
$custom: #523099;
$custom-light: #896bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#523099",
  "rgb": {
    "r": 82,
    "g": 48,
    "b": 153
  },
  "hsl": {
    "h": 259.429,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41352,
    "c": 0.16171,
    "h": 292.8
  },
  "luminance": 0.06208
}

Semantic roles & 50–950 ramp

primary
#523099
secondary
#A0BA6B
accent
#DC4CAD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #523099

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

Preview Lab → · Contrast checker → · Palette generator →

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