#523487#523487

#523487 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.5% C 0.133 H 296.7°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#523487
RGBrgb(82, 52, 135)
HSLhsl(262, 44%, 37%)
HSVhsv(262, 61%, 53%)
CMYKcmyk(39.3%, 61.5%, 0%, 47.1%)
CIE-LABlab(29.41, 32.84, -41.84)
CIE-LCHlch(29.41, 53.19, 308.13°)
OKLaboklab(40.54% 0.0598 -0.1189)
OKLCHoklch(40.54% 0.133 296.7)
XYZxyz(9.0797, 5.9989, 23.5965)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523487 #698734
analogous
#344087 #523487 #7C3487
triadic
#523487 #875234 #348752
tetradic
#523487 #873440 #698734 #34877C
square
#523487 #873440 #698734 #34877C
split-complementary
#523487 #877C34 #408734
monochromatic
#1C122F #37235B #523487 #6D45B3 #8E6EC7

Accessibility & contrast

On white

9.55
#523487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#523487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523487
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523487#FFFFFF#000000##FFFFFF
##5234871.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468A
Deuteranopia (green-blind)
#104485
Tritanopia (blue-blind)
#454658
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #523487;
/* rgb */ color: rgb(82, 52, 135);
/* oklch */ color: oklch(40.5% 0.133 296.7);
Tailwind
colors: {
  custom: {
    50: '#866daa',
    500: '#523487',
    950: '#000000',
  },
}
SCSS
$custom: #523487;
$custom-light: #866daa;
$custom-dark: #000000;
JSON
{
  "hex": "#523487",
  "rgb": {
    "r": 82,
    "g": 52,
    "b": 135
  },
  "hsl": {
    "h": 261.687,
    "s": 44.385,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40542,
    "c": 0.13312,
    "h": 296.7
  },
  "luminance": 0.05999
}

Semantic roles & 50–950 ramp

primary
#523487
secondary
#95AF67
accent
#D454A6
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #523487

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

Preview Lab → · Contrast checker → · Palette generator →

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