#523488#523488

#523488 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.6% C 0.134 H 296.4°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#523488
RGBrgb(82, 52, 136)
HSLhsl(261, 45%, 37%)
HSVhsv(261, 62%, 53%)
CMYKcmyk(39.7%, 61.8%, 0%, 46.7%)
CIE-LABlab(29.48, 33.12, -42.35)
CIE-LCHlch(29.48, 53.76, 308.03°)
OKLaboklab(40.62% 0.0597 -0.1204)
OKLCHoklch(40.62% 0.134 296.4)
XYZxyz(9.1505, 6.0272, 23.9690)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523488 #6A8834
analogous
#344088 #523488 #7C3488
triadic
#523488 #885234 #348852
tetradic
#523488 #883440 #6A8834 #34887C
square
#523488 #883440 #6A8834 #34887C
split-complementary
#523488 #887C34 #408834
monochromatic
#1D122F #37235C #523488 #6D45B4 #8E6FC8

Accessibility & contrast

On white

9.52
#523488 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#523488 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523488
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523488#FFFFFF#000000##FFFFFF
##5234881.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#0E4486
Tritanopia (blue-blind)
#454659
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #523488;
/* rgb */ color: rgb(82, 52, 136);
/* oklch */ color: oklch(40.6% 0.134 296.4);
Tailwind
colors: {
  custom: {
    50: '#876dab',
    500: '#523488',
    950: '#000000',
  },
}
SCSS
$custom: #523488;
$custom-light: #876dab;
$custom-dark: #000000;
JSON
{
  "hex": "#523488",
  "rgb": {
    "r": 82,
    "g": 52,
    "b": 136
  },
  "hsl": {
    "h": 261.429,
    "s": 44.681,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40617,
    "c": 0.13443,
    "h": 296.4
  },
  "luminance": 0.06027
}

Semantic roles & 50–950 ramp

primary
#523488
secondary
#96B068
accent
#D453A6
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #523488

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

Preview Lab → · Contrast checker → · Palette generator →

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