#523097#523097

#523097 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.2% C 0.159 H 293.3°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#523097
RGBrgb(82, 48, 151)
HSLhsl(260, 52%, 39%)
HSVhsv(260, 68%, 59%)
CMYKcmyk(45.7%, 68.2%, 0%, 40.8%)
CIE-LABlab(29.77, 39.72, -51.12)
CIE-LCHlch(29.77, 64.74, 307.84°)
OKLaboklab(41.19% 0.063 -0.1462)
OKLCHoklch(41.19% 0.159 293.3)
XYZxyz(10.1210, 6.1418, 29.9244)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523097 #759730
analogous
#304297 #523097 #863097
triadic
#523097 #975230 #309752
tetradic
#523097 #973042 #759730 #309786
square
#523097 #973042 #759730 #309786
split-complementary
#523097 #978630 #429730
monochromatic
#20123A #392169 #523097 #6C41C3 #9070D2

Accessibility & contrast

On white

9.42
#523097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#523097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523097
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523097#FFFFFF#000000##FFFFFF
##5230971.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#004495
Tritanopia (blue-blind)
#3E495F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #523097;
/* rgb */ color: rgb(82, 48, 151);
/* oklch */ color: oklch(41.2% 0.159 293.3);
Tailwind
colors: {
  custom: {
    50: '#896bb6',
    500: '#523097',
    950: '#000000',
  },
}
SCSS
$custom: #523097;
$custom-light: #896bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#523097",
  "rgb": {
    "r": 82,
    "g": 48,
    "b": 151
  },
  "hsl": {
    "h": 259.806,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41185,
    "c": 0.15924,
    "h": 293.3
  },
  "luminance": 0.06142
}

Semantic roles & 50–950 ramp

primary
#523097
secondary
#9FB96A
accent
#DB4DAC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #523097

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

Preview Lab → · Contrast checker → · Palette generator →

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