#523BBF#523BBF

#523BBF is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.2% C 0.195 H 283.7°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#523BBF
RGBrgb(82, 59, 191)
HSLhsl(250, 53%, 49%)
HSVhsv(250, 69%, 75%)
CMYKcmyk(57.1%, 69.1%, 0%, 25.1%)
CIE-LABlab(35.37, 45.42, -65.94)
CIE-LCHlch(35.37, 80.07, 304.56°)
OKLaboklab(46.24% 0.0461 -0.1898)
OKLCHoklch(46.24% 0.195 283.7)
XYZxyz(14.4447, 8.6825, 50.1948)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523BBF #A8BF3B
analogous
#3B66BF #523BBF #943BBF
triadic
#523BBF #BF523B #3BBF52
tetradic
#523BBF #BF3B66 #A8BF3B #3BBF94
square
#523BBF #BF3B66 #A8BF3B #3BBF94
split-complementary
#523BBF #BF943B #66BF3B
monochromatic
#2A1E61 #3E2D90 #523BBF #7967D0 #A396DF

Accessibility & contrast

On white

7.67
#523BBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#523BBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523BBF
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523BBF#FFFFFF#000000##FFFFFF
##523BBF1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C3
Deuteranopia (green-blind)
#004FBC
Tritanopia (blue-blind)
#195E78
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #523bbf;
/* rgb */ color: rgb(82, 59, 191);
/* oklch */ color: oklch(46.2% 0.195 283.7);
Tailwind
colors: {
  custom: {
    50: '#8e73d3',
    500: '#523bbf',
    950: '#000000',
  },
}
SCSS
$custom: #523bbf;
$custom-light: #8e73d3;
$custom-dark: #000000;
JSON
{
  "hex": "#523bbf",
  "rgb": {
    "r": 82,
    "g": 59,
    "b": 191
  },
  "hsl": {
    "h": 250.455,
    "s": 52.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.46242,
    "c": 0.1953,
    "h": 283.7
  },
  "luminance": 0.08683
}

Semantic roles & 50–950 ramp

primary
#523BBF
secondary
#BFCA8C
accent
#DC4CC3
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #523BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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