#523FAF#523FAF

#523FAF is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.5% C 0.170 H 285.2°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#523FAF
RGBrgb(82, 63, 175)
HSLhsl(250, 47%, 47%)
HSVhsv(250, 64%, 69%)
CMYKcmyk(53.1%, 64%, 0%, 31.4%)
CIE-LABlab(34.89, 38.22, -57.26)
CIE-LCHlch(34.89, 68.84, 303.72°)
OKLaboklab(45.49% 0.0446 -0.1643)
OKLCHoklch(45.49% 0.17 285.2)
XYZxyz(12.9927, 8.4433, 41.4942)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523FAF #9CAF3F
analogous
#3F64AF #523FAF #8A3FAF
triadic
#523FAF #AF523F #3FAF52
tetradic
#523FAF #AF3F64 #9CAF3F #3FAF8A
square
#523FAF #AF3F64 #9CAF3F #3FAF8A
split-complementary
#523FAF #AF8A3F #64AF3F
monochromatic
#281F55 #3D2F82 #523FAF #7564C7 #9D91D7

Accessibility & contrast

On white

7.81
#523FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#523FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523FAF
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523FAF#FFFFFF#000000##FFFFFF
##523FAF1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#2C5A71
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #523faf;
/* rgb */ color: rgb(82, 63, 175);
/* oklch */ color: oklch(45.5% 0.170 285.2);
Tailwind
colors: {
  custom: {
    50: '#8b75c8',
    500: '#523faf',
    950: '#000000',
  },
}
SCSS
$custom: #523faf;
$custom-light: #8b75c8;
$custom-dark: #000000;
JSON
{
  "hex": "#523faf",
  "rgb": {
    "r": 82,
    "g": 63,
    "b": 175
  },
  "hsl": {
    "h": 250.179,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45487,
    "c": 0.17022,
    "h": 285.2
  },
  "luminance": 0.08444
}

Semantic roles & 50–950 ramp

primary
#523FAF
secondary
#B9C387
accent
#D751C0
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #523FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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