#523595#523595

#523595 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.8% C 0.150 H 292.6°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#523595
RGBrgb(82, 53, 149)
HSLhsl(258, 48%, 40%)
HSVhsv(258, 64%, 58%)
CMYKcmyk(45%, 64.4%, 0%, 41.6%)
CIE-LABlab(30.66, 36.28, -48.44)
CIE-LCHlch(30.66, 60.53, 306.83°)
OKLaboklab(41.78% 0.0577 -0.1384)
OKLCHoklch(41.78% 0.15 292.6)
XYZxyz(10.1761, 6.5097, 29.1483)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523595 #789535
analogous
#354895 #523595 #823595
triadic
#523595 #955235 #359552
tetradic
#523595 #953548 #789535 #359582
square
#523595 #953548 #789535 #359582
split-complementary
#523595 #958235 #489535
monochromatic
#20153B #392568 #523595 #6C49BE #9176CE

Accessibility & contrast

On white

9.12
#523595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#523595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523595
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523595#FFFFFF#000000##FFFFFF
##5235951.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#004693
Tritanopia (blue-blind)
#3F4B60
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #523595;
/* rgb */ color: rgb(82, 53, 149);
/* oklch */ color: oklch(41.8% 0.150 292.6);
Tailwind
colors: {
  custom: {
    50: '#886eb5',
    500: '#523595',
    950: '#000000',
  },
}
SCSS
$custom: #523595;
$custom-light: #886eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#523595",
  "rgb": {
    "r": 82,
    "g": 53,
    "b": 149
  },
  "hsl": {
    "h": 258.125,
    "s": 47.525,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41782,
    "c": 0.14992,
    "h": 292.6
  },
  "luminance": 0.0651
}

Semantic roles & 50–950 ramp

primary
#523595
secondary
#A1B76F
accent
#D751AF
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #523595

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

Preview Lab → · Contrast checker → · Palette generator →

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