#523BC1#523BC1

#523BC1 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.4% C 0.198 H 283.4°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#523BC1
RGBrgb(82, 59, 193)
HSLhsl(250, 53%, 49%)
HSVhsv(250, 69%, 76%)
CMYKcmyk(57.5%, 69.4%, 0%, 24.3%)
CIE-LABlab(35.54, 46.03, -66.83)
CIE-LCHlch(35.54, 81.14, 304.56°)
OKLaboklab(46.42% 0.0458 -0.1924)
OKLCHoklch(46.42% 0.198 283.4)
XYZxyz(14.6663, 8.7711, 51.3619)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523BC1 #AAC13B
analogous
#3B67C1 #523BC1 #953BC1
triadic
#523BC1 #C1523B #3BC152
tetradic
#523BC1 #C13B67 #AAC13B #3BC195
square
#523BC1 #C13B67 #AAC13B #3BC195
split-complementary
#523BC1 #C1953B #67C13B
monochromatic
#2A1E63 #3E2D92 #523BC1 #7A68D1 #A497DF

Accessibility & contrast

On white

7.62
#523BC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#523BC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523BC1
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523BC1#FFFFFF#000000##FFFFFF
##523BC11.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C5
Deuteranopia (green-blind)
#004FBE
Tritanopia (blue-blind)
#145E79
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #523bc1;
/* rgb */ color: rgb(82, 59, 193);
/* oklch */ color: oklch(46.4% 0.198 283.4);
Tailwind
colors: {
  custom: {
    50: '#8e73d5',
    500: '#523bc1',
    950: '#000000',
  },
}
SCSS
$custom: #523bc1;
$custom-light: #8e73d5;
$custom-dark: #000000;
JSON
{
  "hex": "#523bc1",
  "rgb": {
    "r": 82,
    "g": 59,
    "b": 193
  },
  "hsl": {
    "h": 250.299,
    "s": 53.175,
    "l": 49.412
  },
  "oklch": {
    "l": 0.4642,
    "c": 0.19775,
    "h": 283.4
  },
  "luminance": 0.08772
}

Semantic roles & 50–950 ramp

primary
#523BC1
secondary
#C0CB8D
accent
#DD4BC4
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #523BC1

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

Preview Lab → · Contrast checker → · Palette generator →

#523BC1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva