#523294#523294

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

Color values

HEX#523294
RGBrgb(82, 50, 148)
HSLhsl(260, 49%, 39%)
HSVhsv(260, 66%, 58%)
CMYKcmyk(44.6%, 66.2%, 0%, 42%)
CIE-LABlab(29.94, 37.73, -49.00)
CIE-LCHlch(29.94, 61.84, 307.60°)
OKLaboklab(41.24% 0.0612 -0.14)
OKLCHoklch(41.24% 0.153 293.6)
XYZxyz(9.9641, 6.2129, 28.6854)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523294 #749432
analogous
#324394 #523294 #833294
triadic
#523294 #945232 #329452
tetradic
#523294 #943243 #749432 #329483
square
#523294 #943243 #749432 #329483
split-complementary
#523294 #948332 #439432
monochromatic
#1F1339 #392366 #523294 #6C44C0 #9071CF

Accessibility & contrast

On white

9.36
#523294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #523294
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523294#FFFFFF#000000##FFFFFF
##5232941.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004897
Deuteranopia (green-blind)
#004592
Tritanopia (blue-blind)
#40495E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #523294;
/* rgb */ color: rgb(82, 50, 148);
/* oklch */ color: oklch(41.2% 0.153 293.6);
Tailwind
colors: {
  custom: {
    50: '#886cb4',
    500: '#523294',
    950: '#000000',
  },
}
SCSS
$custom: #523294;
$custom-light: #886cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#523294",
  "rgb": {
    "r": 82,
    "g": 50,
    "b": 148
  },
  "hsl": {
    "h": 259.592,
    "s": 49.495,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41237,
    "c": 0.1528,
    "h": 293.6
  },
  "luminance": 0.06213
}

Semantic roles & 50–950 ramp

primary
#523294
secondary
#9EB76B
accent
#D94FAC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #523294

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

Preview Lab → · Contrast checker → · Palette generator →

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