#6535AB#6535AB

#6535AB is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.6% C 0.178 H 297.5°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#6535AB
RGBrgb(101, 53, 171)
HSLhsl(264, 53%, 44%)
HSVhsv(264, 69%, 67%)
CMYKcmyk(40.9%, 69%, 0%, 32.9%)
CIE-LABlab(34.50, 46.30, -55.41)
CIE-LCHlch(34.50, 72.21, 309.88°)
OKLaboklab(45.57% 0.0822 -0.1582)
OKLCHoklch(45.57% 0.178 297.5)
XYZxyz(13.9887, 8.2529, 39.3761)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6535AB #7BAB35
analogous
#3540AB #6535AB #A035AB
triadic
#6535AB #AB6535 #35AB65
tetradic
#6535AB #AB3540 #7BAB35 #35ABA0
square
#6535AB #AB3540 #7BAB35 #35ABA0
split-complementary
#6535AB #ABA035 #40AB35
monochromatic
#2E184E #49277C #6535AB #8453CA #A582D8

Accessibility & contrast

On white

7.92
#6535AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6535AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6535AB#FFFFFF#000000##FFFFFF
##6535AB1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AF
Deuteranopia (green-blind)
#0050A9
Tritanopia (blue-blind)
#54516C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6535ab;
/* rgb */ color: rgb(101, 53, 171);
/* oklch */ color: oklch(45.6% 0.178 297.5);
Tailwind
colors: {
  custom: {
    50: '#9770c5',
    500: '#6535ab',
    950: '#000000',
  },
}
SCSS
$custom: #6535ab;
$custom-light: #9770c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6535ab",
  "rgb": {
    "r": 101,
    "g": 53,
    "b": 171
  },
  "hsl": {
    "h": 264.407,
    "s": 52.679,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45574,
    "c": 0.1783,
    "h": 297.5
  },
  "luminance": 0.08253
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6535AB

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

Preview Lab → · Contrast checker → · Palette generator →

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