#6535B3#6535B3

#6535B3 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.2% C 0.188 H 295.5°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#6535B3
RGBrgb(101, 53, 179)
HSLhsl(263, 54%, 45%)
HSVhsv(263, 70%, 70%)
CMYKcmyk(43.6%, 70.4%, 0%, 29.8%)
CIE-LABlab(35.14, 48.42, -59.15)
CIE-LCHlch(35.14, 76.44, 309.30°)
OKLaboklab(46.22% 0.0809 -0.1692)
OKLCHoklch(46.22% 0.188 295.5)
XYZxyz(14.7744, 8.5672, 43.5143)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6535B3 #83B335
analogous
#3544B3 #6535B3 #A435B3
triadic
#6535B3 #B36535 #35B365
tetradic
#6535B3 #B33544 #83B335 #35B3A4
square
#6535B3 #B33544 #83B335 #35B3A4
split-complementary
#6535B3 #B3A435 #44B335
monochromatic
#301955 #4A2784 #6535B3 #8558CD #A787DB

Accessibility & contrast

On white

7.74
#6535B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6535B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6535B3#FFFFFF#000000##FFFFFF
##6535B31.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#505470
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6535b3;
/* rgb */ color: rgb(101, 53, 179);
/* oklch */ color: oklch(46.2% 0.188 295.5);
Tailwind
colors: {
  custom: {
    50: '#9870cb',
    500: '#6535b3',
    950: '#000000',
  },
}
SCSS
$custom: #6535b3;
$custom-light: #9870cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6535b3",
  "rgb": {
    "r": 101,
    "g": 53,
    "b": 179
  },
  "hsl": {
    "h": 262.857,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46224,
    "c": 0.18752,
    "h": 295.5
  },
  "luminance": 0.08568
}

Semantic roles & 50–950 ramp

primary
#6535B3
secondary
#AAC57F
accent
#DE4AA5
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6535B3

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

Preview Lab → · Contrast checker → · Palette generator →

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