#523883#523883

#523883 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 40.9% C 0.121 H 296.7°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#523883
RGBrgb(82, 56, 131)
HSLhsl(261, 40%, 37%)
HSVhsv(261, 57%, 51%)
CMYKcmyk(37.4%, 57.3%, 0%, 48.6%)
CIE-LABlab(30.06, 29.27, -38.30)
CIE-LCHlch(30.06, 48.21, 307.38°)
OKLaboklab(40.93% 0.0545 -0.1086)
OKLCHoklch(40.93% 0.121 296.7)
XYZxyz(8.9895, 6.2607, 22.2032)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523883 #698338
analogous
#384483 #523883 #783883
triadic
#523883 #835238 #388352
tetradic
#523883 #833844 #698338 #388378
square
#523883 #833844 #698338 #388378
split-complementary
#523883 #837838 #448338
monochromatic
#1C132D #372658 #523883 #6D4AAE #8E72C3

Accessibility & contrast

On white

9.32
#523883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#523883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523883
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523883#FFFFFF#000000##FFFFFF
##5238831.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164786
Deuteranopia (green-blind)
#1E4681
Tritanopia (blue-blind)
#474758
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #523883;
/* rgb */ color: rgb(82, 56, 131);
/* oklch */ color: oklch(40.9% 0.121 296.7);
Tailwind
colors: {
  custom: {
    50: '#866fa7',
    500: '#523883',
    950: '#000000',
  },
}
SCSS
$custom: #523883;
$custom-light: #866fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#523883",
  "rgb": {
    "r": 82,
    "g": 56,
    "b": 131
  },
  "hsl": {
    "h": 260.8,
    "s": 40.107,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40932,
    "c": 0.12149,
    "h": 296.7
  },
  "luminance": 0.06261
}

Semantic roles & 50–950 ramp

primary
#523883
secondary
#95AC6B
accent
#D058A6
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #523883

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

Preview Lab → · Contrast checker → · Palette generator →

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