#6535AD#6535AD

#6535AD is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.7% C 0.181 H 297.0°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#6535AD
RGBrgb(101, 53, 173)
HSLhsl(264, 53%, 44%)
HSVhsv(264, 69%, 68%)
CMYKcmyk(41.6%, 69.4%, 0%, 32.2%)
CIE-LABlab(34.66, 46.83, -56.36)
CIE-LCHlch(34.66, 73.27, 309.72°)
OKLaboklab(45.74% 0.0819 -0.161)
OKLCHoklch(45.74% 0.181 297)
XYZxyz(14.1808, 8.3298, 40.3877)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6535AD #7DAD35
analogous
#3541AD #6535AD #A135AD
triadic
#6535AD #AD6535 #35AD65
tetradic
#6535AD #AD3541 #7DAD35 #35ADA1
square
#6535AD #AD3541 #7DAD35 #35ADA1
split-complementary
#6535AD #ADA135 #41AD35
monochromatic
#2E184F #4A277E #6535AD #8454CB #A683D9

Accessibility & contrast

On white

7.88
#6535AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6535AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6535AD
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6535AD#FFFFFF#000000##FFFFFF
##6535AD1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B1
Deuteranopia (green-blind)
#0050AB
Tritanopia (blue-blind)
#53526D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6535ad;
/* rgb */ color: rgb(101, 53, 173);
/* oklch */ color: oklch(45.7% 0.181 297.0);
Tailwind
colors: {
  custom: {
    50: '#9770c6',
    500: '#6535ad',
    950: '#000000',
  },
}
SCSS
$custom: #6535ad;
$custom-light: #9770c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6535ad",
  "rgb": {
    "r": 101,
    "g": 53,
    "b": 173
  },
  "hsl": {
    "h": 264,
    "s": 53.097,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45735,
    "c": 0.18062,
    "h": 297
  },
  "luminance": 0.0833
}

Semantic roles & 50–950 ramp

primary
#6535AD
secondary
#A6C37B
accent
#DD4BA2
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6535AD

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

Preview Lab → · Contrast checker → · Palette generator →

#6535AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva