#523FA8#523FA8

#523FA8 is a dark, vivid violet. Relative luminance 0.082; OKLCH L 44.9% C 0.161 H 286.3°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#523FA8
RGBrgb(82, 63, 168)
HSLhsl(251, 45%, 45%)
HSVhsv(251, 63%, 66%)
CMYKcmyk(51.2%, 62.5%, 0%, 34.1%)
CIE-LABlab(34.35, 36.06, -53.97)
CIE-LCHlch(34.35, 64.90, 303.75°)
OKLaboklab(44.92% 0.0451 -0.1546)
OKLCHoklch(44.92% 0.161 286.3)
XYZxyz(12.3230, 8.1754, 37.9669)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523FA8 #95A83F
analogous
#3F60A8 #523FA8 #863FA8
triadic
#523FA8 #A8523F #3FA852
tetradic
#523FA8 #A83F60 #95A83F #3FA886
square
#523FA8 #A83F60 #95A83F #3FA886
split-complementary
#523FA8 #A8863F #60A83F
monochromatic
#271E4F #3C2E7B #523FA8 #7361C4 #9A8DD4

Accessibility & contrast

On white

7.97
#523FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#523FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523FA8
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523FA8#FFFFFF#000000##FFFFFF
##523FA81.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AB
Deuteranopia (green-blind)
#004EA6
Tritanopia (blue-blind)
#32586D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #523fa8;
/* rgb */ color: rgb(82, 63, 168);
/* oklch */ color: oklch(44.9% 0.161 286.3);
Tailwind
colors: {
  custom: {
    50: '#8a75c3',
    500: '#523fa8',
    950: '#000000',
  },
}
SCSS
$custom: #523fa8;
$custom-light: #8a75c3;
$custom-dark: #000000;
JSON
{
  "hex": "#523fa8",
  "rgb": {
    "r": 82,
    "g": 63,
    "b": 168
  },
  "hsl": {
    "h": 250.857,
    "s": 45.455,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4492,
    "c": 0.16106,
    "h": 286.3
  },
  "luminance": 0.08176
}

Semantic roles & 50–950 ramp

primary
#523FA8
secondary
#B4BF84
accent
#D553BE
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #523FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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