#6534AC#6534AC

#6534AC is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.5% C 0.181 H 297.4°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#6534AC
RGBrgb(101, 52, 172)
HSLhsl(265, 54%, 44%)
HSVhsv(265, 70%, 67%)
CMYKcmyk(41.3%, 69.8%, 0%, 32.5%)
CIE-LABlab(34.40, 47.07, -56.19)
CIE-LCHlch(34.40, 73.30, 309.96°)
OKLaboklab(45.52% 0.0831 -0.1605)
OKLCHoklch(45.52% 0.181 297.4)
XYZxyz(14.0393, 8.2010, 39.8650)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6534AC #7BAC34
analogous
#343FAC #6534AC #A134AC
triadic
#6534AC #AC6534 #34AC65
tetradic
#6534AC #AC343F #7BAC34 #34ACA1
square
#6534AC #AC343F #7BAC34 #34ACA1
split-complementary
#6534AC #ACA134 #3FAC34
monochromatic
#2E184E #49267D #6534AC #8452CB #A581D9

Accessibility & contrast

On white

7.95
#6534AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6534AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6534AC
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6534AC#FFFFFF#000000##FFFFFF
##6534AC1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B0
Deuteranopia (green-blind)
#004FAA
Tritanopia (blue-blind)
#53516C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6534ac;
/* rgb */ color: rgb(101, 52, 172);
/* oklch */ color: oklch(45.5% 0.181 297.4);
Tailwind
colors: {
  custom: {
    50: '#976fc6',
    500: '#6534ac',
    950: '#000000',
  },
}
SCSS
$custom: #6534ac;
$custom-light: #976fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6534ac",
  "rgb": {
    "r": 101,
    "g": 52,
    "b": 172
  },
  "hsl": {
    "h": 264.5,
    "s": 53.571,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45523,
    "c": 0.18071,
    "h": 297.4
  },
  "luminance": 0.08201
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6534AC

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

Preview Lab → · Contrast checker → · Palette generator →

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