#6531B8#6531B8

#6531B8 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.1% C 0.198 H 295.0°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#6531B8
RGBrgb(101, 49, 184)
HSLhsl(263, 58%, 46%)
HSVhsv(263, 73%, 72%)
CMYKcmyk(45.1%, 73.4%, 0%, 27.8%)
CIE-LABlab(34.85, 51.71, -62.58)
CIE-LCHlch(34.85, 81.18, 309.56°)
OKLaboklab(46.15% 0.0836 -0.1792)
OKLCHoklch(46.15% 0.198 295)
XYZxyz(15.1145, 8.4236, 46.1677)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6531B8 #84B831
analogous
#3140B8 #6531B8 #A831B8
triadic
#6531B8 #B86531 #31B865
tetradic
#6531B8 #B83140 #84B831 #31B8A8
square
#6531B8 #B83140 #84B831 #31B8A8
split-complementary
#6531B8 #B8A831 #40B831
monochromatic
#301757 #4A2488 #6531B8 #8555D2 #A785DE

Accessibility & contrast

On white

7.82
#6531B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6531B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6531B8
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6531B8#FFFFFF#000000##FFFFFF
##6531B81.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BC
Deuteranopia (green-blind)
#0050B5
Tritanopia (blue-blind)
#4E5472
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6531b8;
/* rgb */ color: rgb(101, 49, 184);
/* oklch */ color: oklch(46.1% 0.198 295.0);
Tailwind
colors: {
  custom: {
    50: '#986ece',
    500: '#6531b8',
    950: '#000000',
  },
}
SCSS
$custom: #6531b8;
$custom-light: #986ece;
$custom-dark: #000000;
JSON
{
  "hex": "#6531b8",
  "rgb": {
    "r": 101,
    "g": 49,
    "b": 184
  },
  "hsl": {
    "h": 263.111,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46148,
    "c": 0.19778,
    "h": 295
  },
  "luminance": 0.08424
}

Semantic roles & 50–950 ramp

primary
#6531B8
secondary
#ABC87D
accent
#E147A6
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0F0714
muted
#7E7A82

Preview Lab

Preview with #6531B8

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

Preview Lab → · Contrast checker → · Palette generator →

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