#6531BC#6531BC

#6531BC is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.5% C 0.202 H 294.1°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#6531BC
RGBrgb(101, 49, 188)
HSLhsl(262, 59%, 46%)
HSVhsv(262, 74%, 74%)
CMYKcmyk(46.3%, 73.9%, 0%, 26.3%)
CIE-LABlab(35.19, 52.76, -64.39)
CIE-LCHlch(35.19, 83.24, 309.33°)
OKLaboklab(46.49% 0.0827 -0.1845)
OKLCHoklch(46.49% 0.202 294.1)
XYZxyz(15.5398, 8.5937, 48.4072)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6531BC #88BC31
analogous
#3143BC #6531BC #AB31BC
triadic
#6531BC #BC6531 #31BC65
tetradic
#6531BC #BC3143 #88BC31 #31BCAB
square
#6531BC #BC3143 #88BC31 #31BCAB
split-complementary
#6531BC #BCAB31 #43BC31
monochromatic
#31185B #4B248B #6531BC #8557D3 #A988E0

Accessibility & contrast

On white

7.72
#6531BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#6531BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6531BC
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6531BC#FFFFFF#000000##FFFFFF
##6531BC1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C0
Deuteranopia (green-blind)
#0050B9
Tritanopia (blue-blind)
#4B5674
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6531bc;
/* rgb */ color: rgb(101, 49, 188);
/* oklch */ color: oklch(46.5% 0.202 294.1);
Tailwind
colors: {
  custom: {
    50: '#996ed1',
    500: '#6531bc',
    950: '#000000',
  },
}
SCSS
$custom: #6531bc;
$custom-light: #996ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#6531bc",
  "rgb": {
    "r": 101,
    "g": 49,
    "b": 188
  },
  "hsl": {
    "h": 262.446,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46493,
    "c": 0.20222,
    "h": 294.1
  },
  "luminance": 0.08594
}

Semantic roles & 50–950 ramp

primary
#6531BC
secondary
#AECA7F
accent
#E246A8
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0F0714
muted
#7E7A83

Preview Lab

Preview with #6531BC

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

Preview Lab → · Contrast checker → · Palette generator →

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