#523B95#523B95

#523B95 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 42.8% C 0.141 H 291.0°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#523B95
RGBrgb(82, 59, 149)
HSLhsl(255, 43%, 41%)
HSVhsv(255, 60%, 58%)
CMYKcmyk(45%, 60.4%, 0%, 41.6%)
CIE-LABlab(32.01, 32.70, -46.26)
CIE-LCHlch(32.01, 56.65, 305.26°)
OKLaboklab(42.77% 0.0506 -0.1319)
OKLCHoklch(42.77% 0.141 291)
XYZxyz(10.4669, 7.0913, 29.2452)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523B95 #7E953B
analogous
#3B5195 #523B95 #7F3B95
triadic
#523B95 #95523B #3B9552
tetradic
#523B95 #953B51 #7E953B #3B957F
square
#523B95 #953B51 #7E953B #3B957F
split-complementary
#523B95 #957F3B #51953B
monochromatic
#22183D #3A2A69 #523B95 #6D53BB #927ECC

Accessibility & contrast

On white

8.68
#523B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#523B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523B95
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523B95#FFFFFF#000000##FFFFFF
##523B951.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D98
Deuteranopia (green-blind)
#004993
Tritanopia (blue-blind)
#3E4F62
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #523b95;
/* rgb */ color: rgb(82, 59, 149);
/* oklch */ color: oklch(42.8% 0.141 291.0);
Tailwind
colors: {
  custom: {
    50: '#8872b5',
    500: '#523b95',
    950: '#000000',
  },
}
SCSS
$custom: #523b95;
$custom-light: #8872b5;
$custom-dark: #000000;
JSON
{
  "hex": "#523b95",
  "rgb": {
    "r": 82,
    "g": 59,
    "b": 149
  },
  "hsl": {
    "h": 255.333,
    "s": 43.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.42768,
    "c": 0.14132,
    "h": 291
  },
  "luminance": 0.07092
}

Semantic roles & 50–950 ramp

primary
#523B95
secondary
#A5B676
accent
#D355B3
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #523B95

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

Preview Lab → · Contrast checker → · Palette generator →

#523B95 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva