#6531BA#6531BA

#6531BA is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.3% C 0.200 H 294.6°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#6531BA
RGBrgb(101, 49, 186)
HSLhsl(263, 58%, 46%)
HSVhsv(263, 74%, 73%)
CMYKcmyk(45.7%, 73.7%, 0%, 27.1%)
CIE-LABlab(35.02, 52.23, -63.48)
CIE-LCHlch(35.02, 82.21, 309.45°)
OKLaboklab(46.32% 0.0832 -0.1819)
OKLCHoklch(46.32% 0.2 294.6)
XYZxyz(15.3257, 8.5081, 47.2796)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6531BA #86BA31
analogous
#3141BA #6531BA #A931BA
triadic
#6531BA #BA6531 #31BA65
tetradic
#6531BA #BA3141 #86BA31 #31BAA9
square
#6531BA #BA3141 #86BA31 #31BAA9
split-complementary
#6531BA #BAA931 #41BA31
monochromatic
#301759 #4B248A #6531BA #8556D2 #A886DF

Accessibility & contrast

On white

7.77
#6531BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#6531BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6531BA
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6531BA#FFFFFF#000000##FFFFFF
##6531BA1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#0050B7
Tritanopia (blue-blind)
#4D5573
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6531ba;
/* rgb */ color: rgb(101, 49, 186);
/* oklch */ color: oklch(46.3% 0.200 294.6);
Tailwind
colors: {
  custom: {
    50: '#996ed0',
    500: '#6531ba',
    950: '#000000',
  },
}
SCSS
$custom: #6531ba;
$custom-light: #996ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#6531ba",
  "rgb": {
    "r": 101,
    "g": 49,
    "b": 186
  },
  "hsl": {
    "h": 262.774,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4632,
    "c": 0.2,
    "h": 294.6
  },
  "luminance": 0.08508
}

Semantic roles & 50–950 ramp

primary
#6531BA
secondary
#ACC97E
accent
#E246A7
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0F0714
muted
#7E7A82

Preview Lab

Preview with #6531BA

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

Preview Lab → · Contrast checker → · Palette generator →

#6531BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva