#6535AA#6535AA

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

Color values

HEX#6535AA
RGBrgb(101, 53, 170)
HSLhsl(265, 52%, 44%)
HSVhsv(265, 69%, 67%)
CMYKcmyk(40.6%, 68.8%, 0%, 33.3%)
CIE-LABlab(34.43, 46.03, -54.94)
CIE-LCHlch(34.43, 71.68, 309.96°)
OKLaboklab(45.49% 0.0824 -0.1568)
OKLCHoklch(45.49% 0.177 297.7)
XYZxyz(13.8938, 8.2150, 38.8761)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6535AA #7AAA35
analogous
#3540AA #6535AA #9F35AA
triadic
#6535AA #AA6535 #35AA65
tetradic
#6535AA #AA3540 #7AAA35 #35AA9F
square
#6535AA #AA3540 #7AAA35 #35AA9F
split-complementary
#6535AA #AA9F35 #40AA35
monochromatic
#2E184D #49267B #6535AA #8353C9 #A582D8

Accessibility & contrast

On white

7.95
#6535AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6535AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6535AA#FFFFFF#000000##FFFFFF
##6535AA1.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)
#0051AE
Deuteranopia (green-blind)
#0050A8
Tritanopia (blue-blind)
#54516B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6535aa;
/* rgb */ color: rgb(101, 53, 170);
/* oklch */ color: oklch(45.5% 0.177 297.7);
Tailwind
colors: {
  custom: {
    50: '#9770c4',
    500: '#6535aa',
    950: '#000000',
  },
}
SCSS
$custom: #6535aa;
$custom-light: #9770c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6535aa",
  "rgb": {
    "r": 101,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 264.615,
    "s": 52.466,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45494,
    "c": 0.17714,
    "h": 297.7
  },
  "luminance": 0.08215
}

Semantic roles & 50–950 ramp

primary
#6535AA
secondary
#A4C17A
accent
#DC4CA1
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6535AA

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

Preview Lab → · Contrast checker → · Palette generator →

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