#523299#523299

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

Color values

HEX#523299
RGBrgb(82, 50, 153)
HSLhsl(259, 51%, 40%)
HSVhsv(259, 67%, 60%)
CMYKcmyk(46.4%, 67.3%, 0%, 40%)
CIE-LABlab(30.34, 39.17, -51.42)
CIE-LCHlch(30.34, 64.64, 307.30°)
OKLaboklab(41.65% 0.0606 -0.1471)
OKLCHoklch(41.65% 0.159 292.4)
XYZxyz(10.3685, 6.3746, 30.8149)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523299 #799932
analogous
#324599 #523299 #863299
triadic
#523299 #995232 #329952
tetradic
#523299 #993245 #799932 #329986
square
#523299 #993245 #799932 #329986
split-complementary
#523299 #998632 #459932
monochromatic
#21143D #39236B #523299 #6C46C2 #9174D2

Accessibility & contrast

On white

9.23
#523299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #523299
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523299#FFFFFF#000000##FFFFFF
##5232991.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#3D4B61
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #523299;
/* rgb */ color: rgb(82, 50, 153);
/* oklch */ color: oklch(41.6% 0.159 292.4);
Tailwind
colors: {
  custom: {
    50: '#896cb8',
    500: '#523299',
    950: '#000000',
  },
}
SCSS
$custom: #523299;
$custom-light: #896cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#523299",
  "rgb": {
    "r": 82,
    "g": 50,
    "b": 153
  },
  "hsl": {
    "h": 258.641,
    "s": 50.739,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41646,
    "c": 0.15909,
    "h": 292.4
  },
  "luminance": 0.06375
}

Semantic roles & 50–950 ramp

primary
#523299
secondary
#A2BA6D
accent
#DA4EAF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #523299

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

Preview Lab → · Contrast checker → · Palette generator →

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