#523FA7#523FA7

#523FA7 is a dark, vivid violet. Relative luminance 0.081; OKLCH L 44.8% C 0.160 H 286.4°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#523FA7
RGBrgb(82, 63, 167)
HSLhsl(251, 45%, 45%)
HSVhsv(251, 62%, 65%)
CMYKcmyk(50.9%, 62.3%, 0%, 34.5%)
CIE-LABlab(34.27, 35.75, -53.49)
CIE-LCHlch(34.27, 64.34, 303.75°)
OKLaboklab(44.84% 0.0452 -0.1532)
OKLCHoklch(44.84% 0.16 286.4)
XYZxyz(12.2302, 8.1383, 37.4781)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523FA7 #94A73F
analogous
#3F60A7 #523FA7 #863FA7
triadic
#523FA7 #A7523F #3FA752
tetradic
#523FA7 #A73F60 #94A73F #3FA786
square
#523FA7 #A73F60 #94A73F #3FA786
split-complementary
#523FA7 #A7863F #60A73F
monochromatic
#261D4E #3C2E7B #523FA7 #7260C3 #9A8DD4

Accessibility & contrast

On white

7.99
#523FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#523FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523FA7
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523FA7#FFFFFF#000000##FFFFFF
##523FA71.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AA
Deuteranopia (green-blind)
#004EA5
Tritanopia (blue-blind)
#33586D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #523fa7;
/* rgb */ color: rgb(82, 63, 167);
/* oklch */ color: oklch(44.8% 0.160 286.4);
Tailwind
colors: {
  custom: {
    50: '#8a75c2',
    500: '#523fa7',
    950: '#000000',
  },
}
SCSS
$custom: #523fa7;
$custom-light: #8a75c2;
$custom-dark: #000000;
JSON
{
  "hex": "#523fa7",
  "rgb": {
    "r": 82,
    "g": 63,
    "b": 167
  },
  "hsl": {
    "h": 250.962,
    "s": 45.217,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4484,
    "c": 0.15973,
    "h": 286.4
  },
  "luminance": 0.08139
}

Semantic roles & 50–950 ramp

primary
#523FA7
secondary
#B4BF83
accent
#D553BD
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #523FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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