#523482#523482

#523482 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.2% C 0.127 H 298.2°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#523482
RGBrgb(82, 52, 130)
HSLhsl(263, 43%, 36%)
HSVhsv(263, 60%, 51%)
CMYKcmyk(36.9%, 60%, 0%, 49%)
CIE-LABlab(29.06, 31.42, -39.29)
CIE-LCHlch(29.06, 50.31, 308.65°)
OKLaboklab(40.17% 0.0599 -0.1114)
OKLCHoklch(40.17% 0.127 298.2)
XYZxyz(8.7359, 5.8614, 21.7859)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523482 #648234
analogous
#343D82 #523482 #793482
triadic
#523482 #825234 #348252
tetradic
#523482 #82343D #648234 #348279
square
#523482 #82343D #648234 #348279
split-complementary
#523482 #827934 #3D8234
monochromatic
#1B112B #362356 #523482 #6E45AE #8E6CC4

Accessibility & contrast

On white

9.67
#523482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#523482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523482
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523482#FFFFFF#000000##FFFFFF
##5234821.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4585
Deuteranopia (green-blind)
#194480
Tritanopia (blue-blind)
#474456
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #523482;
/* rgb */ color: rgb(82, 52, 130);
/* oklch */ color: oklch(40.2% 0.127 298.2);
Tailwind
colors: {
  custom: {
    50: '#866da7',
    500: '#523482',
    950: '#000000',
  },
}
SCSS
$custom: #523482;
$custom-light: #866da7;
$custom-dark: #000000;
JSON
{
  "hex": "#523482",
  "rgb": {
    "r": 82,
    "g": 52,
    "b": 130
  },
  "hsl": {
    "h": 263.077,
    "s": 42.857,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40175,
    "c": 0.12651,
    "h": 298.2
  },
  "luminance": 0.05862
}

Semantic roles & 50–950 ramp

primary
#523482
secondary
#91AC65
accent
#D355A2
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #523482

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

Preview Lab → · Contrast checker → · Palette generator →

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