#6531B3#6531B3

#6531B3 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.192 H 296.1°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#6531B3
RGBrgb(101, 49, 179)
HSLhsl(264, 57%, 45%)
HSVhsv(264, 73%, 70%)
CMYKcmyk(43.6%, 72.6%, 0%, 29.8%)
CIE-LABlab(34.43, 50.40, -60.30)
CIE-LCHlch(34.43, 78.59, 309.89°)
OKLaboklab(45.72% 0.0847 -0.1725)
OKLCHoklch(45.72% 0.192 296.1)
XYZxyz(14.5997, 8.2177, 43.4560)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6531B3 #7FB331
analogous
#313EB3 #6531B3 #A631B3
triadic
#6531B3 #B36531 #31B365
tetradic
#6531B3 #B3313E #7FB331 #31B3A6
square
#6531B3 #B3313E #7FB331 #31B3A6
split-complementary
#6531B3 #B3A631 #3EB331
monochromatic
#2F1753 #4A2483 #6531B3 #8452D0 #A682DD

Accessibility & contrast

On white

7.94
#6531B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6531B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6531B3
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6531B3#FFFFFF#000000##FFFFFF
##6531B31.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#50526F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6531b3;
/* rgb */ color: rgb(101, 49, 179);
/* oklch */ color: oklch(45.7% 0.192 296.1);
Tailwind
colors: {
  custom: {
    50: '#986ecb',
    500: '#6531b3',
    950: '#000000',
  },
}
SCSS
$custom: #6531b3;
$custom-light: #986ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#6531b3",
  "rgb": {
    "r": 101,
    "g": 49,
    "b": 179
  },
  "hsl": {
    "h": 264,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45723,
    "c": 0.19222,
    "h": 296.1
  },
  "luminance": 0.08218
}

Semantic roles & 50–950 ramp

primary
#6531B3
secondary
#A7C67A
accent
#E048A3
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6531B3

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

Preview Lab → · Contrast checker → · Palette generator →

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