#523AA2#523AA2

#523AA2 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.6% C 0.160 H 288.6°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#523AA2
RGBrgb(82, 58, 162)
HSLhsl(254, 47%, 43%)
HSVhsv(254, 64%, 64%)
CMYKcmyk(49.4%, 64.2%, 0%, 36.5%)
CIE-LABlab(32.76, 37.21, -52.93)
CIE-LCHlch(32.76, 64.70, 305.10°)
OKLaboklab(43.62% 0.051 -0.1516)
OKLCHoklch(43.62% 0.16 288.6)
XYZxyz(11.5124, 7.4281, 35.0026)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523AA2 #8AA23A
analogous
#3A56A2 #523AA2 #863AA2
triadic
#523AA2 #A2523A #3AA252
tetradic
#523AA2 #A23A56 #8AA23A #3AA286
square
#523AA2 #A23A56 #8AA23A #3AA286
split-complementary
#523AA2 #A2863A #56A23A
monochromatic
#241A48 #3B2A75 #523AA2 #6F57C3 #9684D3

Accessibility & contrast

On white

8.45
#523AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#523AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523AA2
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523AA2#FFFFFF#000000##FFFFFF
##523AA21.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA5
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#375368
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #523aa2;
/* rgb */ color: rgb(82, 58, 162);
/* oklch */ color: oklch(43.6% 0.160 288.6);
Tailwind
colors: {
  custom: {
    50: '#8971be',
    500: '#523aa2',
    950: '#000000',
  },
}
SCSS
$custom: #523aa2;
$custom-light: #8971be;
$custom-dark: #000000;
JSON
{
  "hex": "#523aa2",
  "rgb": {
    "r": 82,
    "g": 58,
    "b": 162
  },
  "hsl": {
    "h": 253.846,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.43622,
    "c": 0.15991,
    "h": 288.6
  },
  "luminance": 0.07429
}

Semantic roles & 50–950 ramp

primary
#523AA2
secondary
#AEBD7B
accent
#D751B8
background
#F8F6FB
surface
#F0ECF7
border
#CBC7D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #523AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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