#523397#523397

#523397 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.6% C 0.155 H 292.6°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#523397
RGBrgb(82, 51, 151)
HSLhsl(259, 50%, 40%)
HSVhsv(259, 66%, 59%)
CMYKcmyk(45.7%, 66.2%, 0%, 40.8%)
CIE-LABlab(30.39, 38.02, -50.11)
CIE-LCHlch(30.39, 62.91, 307.19°)
OKLaboklab(41.63% 0.0597 -0.1433)
OKLCHoklch(41.63% 0.155 292.6)
XYZxyz(10.2479, 6.3955, 29.9667)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523397 #789733
analogous
#334697 #523397 #843397
triadic
#523397 #975233 #339752
tetradic
#523397 #973346 #789733 #339784
square
#523397 #973346 #789733 #339784
split-complementary
#523397 #978433 #469733
monochromatic
#20143C #392469 #523397 #6C47C1 #9174D0

Accessibility & contrast

On white

9.21
#523397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#523397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523397
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523397#FFFFFF#000000##FFFFFF
##5233971.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#3E4B60
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #523397;
/* rgb */ color: rgb(82, 51, 151);
/* oklch */ color: oklch(41.6% 0.155 292.6);
Tailwind
colors: {
  custom: {
    50: '#886db6',
    500: '#523397',
    950: '#000000',
  },
}
SCSS
$custom: #523397;
$custom-light: #886db6;
$custom-dark: #000000;
JSON
{
  "hex": "#523397",
  "rgb": {
    "r": 82,
    "g": 51,
    "b": 151
  },
  "hsl": {
    "h": 258.6,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41633,
    "c": 0.15523,
    "h": 292.6
  },
  "luminance": 0.06396
}

Semantic roles & 50–950 ramp

primary
#523397
secondary
#A1B86D
accent
#D94FAE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #523397

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

Preview Lab → · Contrast checker → · Palette generator →

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