#6531AA#6531AA

#6531AA is a dark, vivid violet. Relative luminance 0.079; OKLCH L 45.0% C 0.182 H 298.4°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#6531AA
RGBrgb(101, 49, 170)
HSLhsl(266, 55%, 43%)
HSVhsv(266, 71%, 67%)
CMYKcmyk(40.6%, 71.2%, 0%, 33.3%)
CIE-LABlab(33.70, 48.05, -56.12)
CIE-LCHlch(33.70, 73.88, 310.57°)
OKLaboklab(44.98% 0.0865 -0.1603)
OKLCHoklch(44.98% 0.182 298.4)
XYZxyz(13.7190, 7.8654, 38.8178)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6531AA #76AA31
analogous
#313AAA #6531AA #A131AA
triadic
#6531AA #AA6531 #31AA65
tetradic
#6531AA #AA313A #76AA31 #31AAA1
square
#6531AA #AA313A #76AA31 #31AAA1
split-complementary
#6531AA #AAA131 #3AAA31
monochromatic
#2D164B #49237A #6531AA #834DCC #A47CD9

Accessibility & contrast

On white

8.16
#6531AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#6531AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6531AA#FFFFFF#000000##FFFFFF
##6531AA1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#004EA8
Tritanopia (blue-blind)
#544F6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6531aa;
/* rgb */ color: rgb(101, 49, 170);
/* oklch */ color: oklch(45.0% 0.182 298.4);
Tailwind
colors: {
  custom: {
    50: '#976dc4',
    500: '#6531aa',
    950: '#000000',
  },
}
SCSS
$custom: #6531aa;
$custom-light: #976dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#6531aa",
  "rgb": {
    "r": 101,
    "g": 49,
    "b": 170
  },
  "hsl": {
    "h": 265.785,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44977,
    "c": 0.18212,
    "h": 298.4
  },
  "luminance": 0.07866
}

Semantic roles & 50–950 ramp

primary
#6531AA
secondary
#A1C275
accent
#DF499E
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6531AA

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

Preview Lab → · Contrast checker → · Palette generator →

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