#6535B1#6535B1

#6535B1 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.1% C 0.185 H 296.0°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#6535B1
RGBrgb(101, 53, 177)
HSLhsl(263, 54%, 45%)
HSVhsv(263, 70%, 69%)
CMYKcmyk(42.9%, 70.1%, 0%, 30.6%)
CIE-LABlab(34.98, 47.89, -58.22)
CIE-LCHlch(34.98, 75.39, 309.44°)
OKLaboklab(46.06% 0.0812 -0.1665)
OKLCHoklch(46.06% 0.185 296)
XYZxyz(14.5736, 8.4869, 42.4567)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6535B1 #81B135
analogous
#3543B1 #6535B1 #A335B1
triadic
#6535B1 #B16535 #35B165
tetradic
#6535B1 #B13543 #81B135 #35B1A3
square
#6535B1 #B13543 #81B135 #35B1A3
split-complementary
#6535B1 #B1A335 #43B135
monochromatic
#2F1953 #4A2782 #6535B1 #8457CD #A786DB

Accessibility & contrast

On white

7.79
#6535B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#6535B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6535B1#FFFFFF#000000##FFFFFF
##6535B11.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B5
Deuteranopia (green-blind)
#0050AE
Tritanopia (blue-blind)
#51546F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6535b1;
/* rgb */ color: rgb(101, 53, 177);
/* oklch */ color: oklch(46.1% 0.185 296.0);
Tailwind
colors: {
  custom: {
    50: '#9770c9',
    500: '#6535b1',
    950: '#000000',
  },
}
SCSS
$custom: #6535b1;
$custom-light: #9770c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6535b1",
  "rgb": {
    "r": 101,
    "g": 53,
    "b": 177
  },
  "hsl": {
    "h": 263.226,
    "s": 53.913,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46059,
    "c": 0.18522,
    "h": 296
  },
  "luminance": 0.08487
}

Semantic roles & 50–950 ramp

primary
#6535B1
secondary
#A9C47D
accent
#DD4BA4
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6535B1

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

Preview Lab → · Contrast checker → · Palette generator →

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