#6531A2#6531A2

#6531A2 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.3% C 0.173 H 300.5°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#6531A2
RGBrgb(101, 49, 162)
HSLhsl(268, 54%, 41%)
HSVhsv(268, 70%, 64%)
CMYKcmyk(37.7%, 69.8%, 0%, 36.5%)
CIE-LABlab(33.07, 45.99, -52.33)
CIE-LCHlch(33.07, 69.67, 311.31°)
OKLaboklab(44.33% 0.0879 -0.1491)
OKLCHoklch(44.33% 0.173 300.5)
XYZxyz(12.9851, 7.5719, 34.9528)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6531A2 #6EA231
analogous
#3135A2 #6531A2 #9E31A2
triadic
#6531A2 #A26531 #31A265
tetradic
#6531A2 #A23135 #6EA231 #31A29E
square
#6531A2 #A23135 #6EA231 #31A29E
split-complementary
#6531A2 #A29E31 #35A231
monochromatic
#2A1544 #482373 #6531A2 #8348C8 #A377D6

Accessibility & contrast

On white

8.35
#6531A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6531A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6531A2#FFFFFF#000000##FFFFFF
##6531A21.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#004DA0
Tritanopia (blue-blind)
#574C66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6531a2;
/* rgb */ color: rgb(101, 49, 162);
/* oklch */ color: oklch(44.3% 0.173 300.5);
Tailwind
colors: {
  custom: {
    50: '#966dbe',
    500: '#6531a2',
    950: '#000000',
  },
}
SCSS
$custom: #6531a2;
$custom-light: #966dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6531a2",
  "rgb": {
    "r": 101,
    "g": 49,
    "b": 162
  },
  "hsl": {
    "h": 267.611,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44334,
    "c": 0.17308,
    "h": 300.5
  },
  "luminance": 0.07572
}

Semantic roles & 50–950 ramp

primary
#6531A2
secondary
#9ABE71
accent
#DD4B9A
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6531A2

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

Preview Lab → · Contrast checker → · Palette generator →

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