#6531A5#6531A5

#6531A5 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.6% C 0.176 H 299.7°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#6531A5
RGBrgb(101, 49, 165)
HSLhsl(267, 54%, 42%)
HSVhsv(267, 70%, 65%)
CMYKcmyk(38.8%, 70.3%, 0%, 35.3%)
CIE-LABlab(33.31, 46.76, -53.76)
CIE-LCHlch(33.31, 71.25, 311.01°)
OKLaboklab(44.57% 0.0874 -0.1533)
OKLCHoklch(44.57% 0.176 299.7)
XYZxyz(13.2550, 7.6798, 36.3740)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6531A5 #71A531
analogous
#3137A5 #6531A5 #9F31A5
triadic
#6531A5 #A56531 #31A565
tetradic
#6531A5 #A53137 #71A531 #31A59F
square
#6531A5 #A53137 #71A531 #31A59F
split-complementary
#6531A5 #A59F31 #37A531
monochromatic
#2B1547 #482376 #6531A5 #834AC9 #A379D7

Accessibility & contrast

On white

8.28
#6531A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#6531A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6531A5#FFFFFF#000000##FFFFFF
##6531A51.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA8
Deuteranopia (green-blind)
#004DA3
Tritanopia (blue-blind)
#564D67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6531a5;
/* rgb */ color: rgb(101, 49, 165);
/* oklch */ color: oklch(44.6% 0.176 299.7);
Tailwind
colors: {
  custom: {
    50: '#966dc1',
    500: '#6531a5',
    950: '#000000',
  },
}
SCSS
$custom: #6531a5;
$custom-light: #966dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#6531a5",
  "rgb": {
    "r": 101,
    "g": 49,
    "b": 165
  },
  "hsl": {
    "h": 266.897,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44573,
    "c": 0.17648,
    "h": 299.7
  },
  "luminance": 0.0768
}

Semantic roles & 50–950 ramp

primary
#6531A5
secondary
#9DC072
accent
#DE4A9C
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6531A5

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

Preview Lab → · Contrast checker → · Palette generator →

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