#6535B5#6535B5

#6535B5 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.4% C 0.190 H 295.1°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#6535B5
RGBrgb(101, 53, 181)
HSLhsl(263, 55%, 46%)
HSVhsv(263, 71%, 71%)
CMYKcmyk(44.2%, 70.7%, 0%, 29%)
CIE-LABlab(35.30, 48.95, -60.07)
CIE-LCHlch(35.30, 77.49, 309.18°)
OKLaboklab(46.39% 0.0805 -0.1719)
OKLCHoklch(46.39% 0.19 295.1)
XYZxyz(14.9782, 8.6487, 44.5873)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6535B5 #85B535
analogous
#3545B5 #6535B5 #A535B5
triadic
#6535B5 #B56535 #35B565
tetradic
#6535B5 #B53545 #85B535 #35B5A5
square
#6535B5 #B53545 #85B535 #35B5A5
split-complementary
#6535B5 #B5A535 #45B535
monochromatic
#301956 #4B2786 #6535B5 #8559CE #A888DC

Accessibility & contrast

On white

7.69
#6535B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#6535B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6535B5#FFFFFF#000000##FFFFFF
##6535B51.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B9
Deuteranopia (green-blind)
#0051B2
Tritanopia (blue-blind)
#4F5571
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6535b5;
/* rgb */ color: rgb(101, 53, 181);
/* oklch */ color: oklch(46.4% 0.190 295.1);
Tailwind
colors: {
  custom: {
    50: '#9870cc',
    500: '#6535b5',
    950: '#000000',
  },
}
SCSS
$custom: #6535b5;
$custom-light: #9870cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6535b5",
  "rgb": {
    "r": 101,
    "g": 53,
    "b": 181
  },
  "hsl": {
    "h": 262.5,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46389,
    "c": 0.18981,
    "h": 295.1
  },
  "luminance": 0.08649
}

Semantic roles & 50–950 ramp

primary
#6535B5
secondary
#ACC680
accent
#DE4AA6
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6535B5

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

Preview Lab → · Contrast checker → · Palette generator →

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