#6534A3#6534A3

#6534A3 is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.8% C 0.170 H 299.7°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#6534A3
RGBrgb(101, 52, 163)
HSLhsl(266, 52%, 42%)
HSVhsv(266, 68%, 64%)
CMYKcmyk(38%, 68.1%, 0%, 36.1%)
CIE-LABlab(33.70, 44.71, -51.91)
CIE-LCHlch(33.70, 68.51, 310.74°)
OKLaboklab(44.81% 0.0845 -0.1479)
OKLCHoklch(44.81% 0.17 299.7)
XYZxyz(13.2040, 7.8669, 35.4660)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6534A3 #72A334
analogous
#343BA3 #6534A3 #9C34A3
triadic
#6534A3 #A36534 #34A365
tetradic
#6534A3 #A3343B #72A334 #34A39C
square
#6534A3 #A3343B #72A334 #34A39C
split-complementary
#6534A3 #A39C34 #3BA334
monochromatic
#2C1646 #482575 #6534A3 #834EC6 #A37CD5

Accessibility & contrast

On white

8.16
#6534A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#6534A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6534A3#FFFFFF#000000##FFFFFF
##6534A31.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)
#004FA6
Deuteranopia (green-blind)
#004EA1
Tritanopia (blue-blind)
#574E67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6534a3;
/* rgb */ color: rgb(101, 52, 163);
/* oklch */ color: oklch(44.8% 0.170 299.7);
Tailwind
colors: {
  custom: {
    50: '#966fbf',
    500: '#6534a3',
    950: '#000000',
  },
}
SCSS
$custom: #6534a3;
$custom-light: #966fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#6534a3",
  "rgb": {
    "r": 101,
    "g": 52,
    "b": 163
  },
  "hsl": {
    "h": 266.486,
    "s": 51.628,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44808,
    "c": 0.17032,
    "h": 299.7
  },
  "luminance": 0.07867
}

Semantic roles & 50–950 ramp

primary
#6534A3
secondary
#9EBE75
accent
#DB4D9C
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6534A3

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

Preview Lab → · Contrast checker → · Palette generator →

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