#523391#523391

#523391 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.2% C 0.148 H 294.1°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#523391
RGBrgb(82, 51, 145)
HSLhsl(260, 48%, 38%)
HSVhsv(260, 65%, 57%)
CMYKcmyk(43.4%, 64.8%, 0%, 43.1%)
CIE-LABlab(29.93, 36.29, -47.19)
CIE-LCHlch(29.93, 59.53, 307.56°)
OKLaboklab(41.15% 0.0604 -0.1347)
OKLCHoklch(41.15% 0.148 294.1)
XYZxyz(9.7730, 6.2056, 27.4655)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523391 #729133
analogous
#334391 #523391 #813391
triadic
#523391 #915233 #339152
tetradic
#523391 #913343 #729133 #339181
square
#523391 #913343 #729133 #339181
split-complementary
#523391 #918133 #439133
monochromatic
#1F1336 #382364 #523391 #6C44BD #9071CD

Accessibility & contrast

On white

9.37
#523391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#523391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523391
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523391#FFFFFF#000000##FFFFFF
##5233911.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004794
Deuteranopia (green-blind)
#00458F
Tritanopia (blue-blind)
#41495D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #523391;
/* rgb */ color: rgb(82, 51, 145);
/* oklch */ color: oklch(41.2% 0.148 294.1);
Tailwind
colors: {
  custom: {
    50: '#886cb2',
    500: '#523391',
    950: '#000000',
  },
}
SCSS
$custom: #523391;
$custom-light: #886cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#523391",
  "rgb": {
    "r": 82,
    "g": 51,
    "b": 145
  },
  "hsl": {
    "h": 259.787,
    "s": 47.959,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41151,
    "c": 0.14758,
    "h": 294.1
  },
  "luminance": 0.06206
}

Semantic roles & 50–950 ramp

primary
#523391
secondary
#9DB56B
accent
#D850AB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #523391

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

Preview Lab → · Contrast checker → · Palette generator →

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