#523293#523293

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

Color values

HEX#523293
RGBrgb(82, 50, 147)
HSLhsl(260, 49%, 39%)
HSVhsv(260, 66%, 58%)
CMYKcmyk(44.2%, 66%, 0%, 42.4%)
CIE-LABlab(29.87, 37.44, -48.51)
CIE-LCHlch(29.87, 61.28, 307.66°)
OKLaboklab(41.16% 0.0613 -0.1386)
OKLCHoklch(41.16% 0.152 293.9)
XYZxyz(9.8853, 6.1814, 28.2704)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523293 #739332
analogous
#324293 #523293 #823293
triadic
#523293 #935232 #329352
tetradic
#523293 #933242 #739332 #329382
square
#523293 #933242 #739332 #329382
split-complementary
#523293 #938232 #429332
monochromatic
#1F1338 #392265 #523293 #6C43BF #9071CF

Accessibility & contrast

On white

9.39
#523293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #523293
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523293#FFFFFF#000000##FFFFFF
##5232931.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004796
Deuteranopia (green-blind)
#004591
Tritanopia (blue-blind)
#40495E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #523293;
/* rgb */ color: rgb(82, 50, 147);
/* oklch */ color: oklch(41.2% 0.152 293.9);
Tailwind
colors: {
  custom: {
    50: '#886cb3',
    500: '#523293',
    950: '#000000',
  },
}
SCSS
$custom: #523293;
$custom-light: #886cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#523293",
  "rgb": {
    "r": 82,
    "g": 50,
    "b": 147
  },
  "hsl": {
    "h": 259.794,
    "s": 49.239,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41156,
    "c": 0.15152,
    "h": 293.9
  },
  "luminance": 0.06182
}

Semantic roles & 50–950 ramp

primary
#523293
secondary
#9DB76A
accent
#D94FAB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #523293

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

Preview Lab → · Contrast checker → · Palette generator →

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