#523481#523481

#523481 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.1% C 0.125 H 298.6°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#523481
RGBrgb(82, 52, 129)
HSLhsl(263, 43%, 35%)
HSVhsv(263, 60%, 51%)
CMYKcmyk(36.4%, 59.7%, 0%, 49.4%)
CIE-LABlab(28.99, 31.14, -38.77)
CIE-LCHlch(28.99, 49.73, 308.77°)
OKLaboklab(40.1% 0.0599 -0.1099)
OKLCHoklch(40.1% 0.125 298.6)
XYZxyz(8.6691, 5.8347, 21.4341)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523481 #638134
analogous
#343C81 #523481 #783481
triadic
#523481 #815234 #348152
tetradic
#523481 #81343C #638134 #348178
square
#523481 #81343C #638134 #348178
split-complementary
#523481 #817834 #3C8134
monochromatic
#1B112A #362255 #523481 #6E46AD #8E6CC4

Accessibility & contrast

On white

9.69
#523481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #523481
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523481#FFFFFF#000000##FFFFFF
##5234811.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4484
Deuteranopia (green-blind)
#1A447F
Tritanopia (blue-blind)
#484455
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #523481;
/* rgb */ color: rgb(82, 52, 129);
/* oklch */ color: oklch(40.1% 0.125 298.6);
Tailwind
colors: {
  custom: {
    50: '#866da6',
    500: '#523481',
    950: '#000000',
  },
}
SCSS
$custom: #523481;
$custom-light: #866da6;
$custom-dark: #000000;
JSON
{
  "hex": "#523481",
  "rgb": {
    "r": 82,
    "g": 52,
    "b": 129
  },
  "hsl": {
    "h": 263.377,
    "s": 42.541,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40102,
    "c": 0.12518,
    "h": 298.6
  },
  "luminance": 0.05835
}

Semantic roles & 50–950 ramp

primary
#523481
secondary
#90AC65
accent
#D255A2
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #523481

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

Preview Lab → · Contrast checker → · Palette generator →

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