#523199#523199

#523199 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.5% C 0.160 H 292.6°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#523199
RGBrgb(82, 49, 153)
HSLhsl(259, 51%, 40%)
HSVhsv(259, 68%, 60%)
CMYKcmyk(46.4%, 68%, 0%, 40%)
CIE-LABlab(30.13, 39.73, -51.75)
CIE-LCHlch(30.13, 65.25, 307.52°)
OKLaboklab(41.5% 0.0616 -0.1481)
OKLCHoklch(41.5% 0.16 292.6)
XYZxyz(10.3262, 6.2900, 30.8008)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523199 #789931
analogous
#314499 #523199 #863199
triadic
#523199 #995231 #319952
tetradic
#523199 #993144 #789931 #319986
square
#523199 #993144 #789931 #319986
split-complementary
#523199 #998631 #449931
monochromatic
#20133C #39226B #523199 #6C44C3 #9172D2

Accessibility & contrast

On white

9.30
#523199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#523199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523199
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523199#FFFFFF#000000##FFFFFF
##5231991.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#3D4A61
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #523199;
/* rgb */ color: rgb(82, 49, 153);
/* oklch */ color: oklch(41.5% 0.160 292.6);
Tailwind
colors: {
  custom: {
    50: '#896bb8',
    500: '#523199',
    950: '#000000',
  },
}
SCSS
$custom: #523199;
$custom-light: #896bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#523199",
  "rgb": {
    "r": 82,
    "g": 49,
    "b": 153
  },
  "hsl": {
    "h": 259.038,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41498,
    "c": 0.16041,
    "h": 292.6
  },
  "luminance": 0.0629
}

Semantic roles & 50–950 ramp

primary
#523199
secondary
#A1BA6C
accent
#DB4DAE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #523199

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

Preview Lab → · Contrast checker → · Palette generator →

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