#6531B9#6531B9

#6531B9 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.2% C 0.199 H 294.8°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#6531B9
RGBrgb(101, 49, 185)
HSLhsl(263, 58%, 46%)
HSVhsv(263, 74%, 73%)
CMYKcmyk(45.4%, 73.5%, 0%, 27.5%)
CIE-LABlab(34.93, 51.97, -63.03)
CIE-LCHlch(34.93, 81.69, 309.50°)
OKLaboklab(46.23% 0.0834 -0.1806)
OKLCHoklch(46.23% 0.199 294.8)
XYZxyz(15.2197, 8.4657, 46.7217)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6531B9 #85B931
analogous
#3141B9 #6531B9 #A931B9
triadic
#6531B9 #B96531 #31B965
tetradic
#6531B9 #B93141 #85B931 #31B9A9
square
#6531B9 #B93141 #85B931 #31B9A9
split-complementary
#6531B9 #B9A931 #41B931
monochromatic
#301758 #4B2489 #6531B9 #8555D2 #A886DF

Accessibility & contrast

On white

7.80
#6531B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6531B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6531B9
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6531B9#FFFFFF#000000##FFFFFF
##6531B91.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BD
Deuteranopia (green-blind)
#0050B6
Tritanopia (blue-blind)
#4D5572
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6531b9;
/* rgb */ color: rgb(101, 49, 185);
/* oklch */ color: oklch(46.2% 0.199 294.8);
Tailwind
colors: {
  custom: {
    50: '#996ecf',
    500: '#6531b9',
    950: '#000000',
  },
}
SCSS
$custom: #6531b9;
$custom-light: #996ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#6531b9",
  "rgb": {
    "r": 101,
    "g": 49,
    "b": 185
  },
  "hsl": {
    "h": 262.941,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46234,
    "c": 0.19889,
    "h": 294.8
  },
  "luminance": 0.08466
}

Semantic roles & 50–950 ramp

primary
#6531B9
secondary
#ACC87D
accent
#E146A6
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0F0714
muted
#7E7A82

Preview Lab

Preview with #6531B9

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

Preview Lab → · Contrast checker → · Palette generator →

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