#6534AB#6534AB

#6534AB is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.4% C 0.180 H 297.6°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#6534AB
RGBrgb(101, 52, 171)
HSLhsl(265, 53%, 44%)
HSVhsv(265, 70%, 67%)
CMYKcmyk(40.9%, 69.6%, 0%, 32.9%)
CIE-LABlab(34.32, 46.81, -55.72)
CIE-LCHlch(34.32, 72.77, 310.04°)
OKLaboklab(45.44% 0.0833 -0.1591)
OKLCHoklch(45.44% 0.18 297.6)
XYZxyz(13.9436, 8.1627, 39.3611)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6534AB #7AAB34
analogous
#343EAB #6534AB #A034AB
triadic
#6534AB #AB6534 #34AB65
tetradic
#6534AB #AB343E #7AAB34 #34ABA0
square
#6534AB #AB343E #7AAB34 #34ABA0
split-complementary
#6534AB #ABA034 #3EAB34
monochromatic
#2E174D #49267C #6534AB #8352CA #A581D9

Accessibility & contrast

On white

7.98
#6534AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6534AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6534AB
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6534AB#FFFFFF#000000##FFFFFF
##6534AB1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AF
Deuteranopia (green-blind)
#004FA9
Tritanopia (blue-blind)
#54516B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6534ab;
/* rgb */ color: rgb(101, 52, 171);
/* oklch */ color: oklch(45.4% 0.180 297.6);
Tailwind
colors: {
  custom: {
    50: '#976fc5',
    500: '#6534ab',
    950: '#000000',
  },
}
SCSS
$custom: #6534ab;
$custom-light: #976fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#6534ab",
  "rgb": {
    "r": 101,
    "g": 52,
    "b": 171
  },
  "hsl": {
    "h": 264.706,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45442,
    "c": 0.17956,
    "h": 297.6
  },
  "luminance": 0.08163
}

Semantic roles & 50–950 ramp

primary
#6534AB
secondary
#A4C279
accent
#DD4BA1
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6534AB

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

Preview Lab → · Contrast checker → · Palette generator →

#6534AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva