#6535B2#6535B2

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

Color values

HEX#6535B2
RGBrgb(101, 53, 178)
HSLhsl(263, 54%, 45%)
HSVhsv(263, 70%, 70%)
CMYKcmyk(43.3%, 70.2%, 0%, 30.2%)
CIE-LABlab(35.06, 48.15, -58.69)
CIE-LCHlch(35.06, 75.91, 309.37°)
OKLaboklab(46.14% 0.081 -0.1678)
OKLCHoklch(46.14% 0.186 295.8)
XYZxyz(14.6737, 8.5269, 42.9836)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6535B2 #82B235
analogous
#3543B2 #6535B2 #A335B2
triadic
#6535B2 #B26535 #35B265
tetradic
#6535B2 #B23543 #82B235 #35B2A3
square
#6535B2 #B23543 #82B235 #35B2A3
split-complementary
#6535B2 #B2A335 #43B235
monochromatic
#2F1954 #4A2783 #6535B2 #8457CD #A786DB

Accessibility & contrast

On white

7.76
#6535B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##6535B2#FFFFFF#000000##FFFFFF
##6535B21.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#0051AF
Tritanopia (blue-blind)
#505470
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6535b2;
/* rgb */ color: rgb(101, 53, 178);
/* oklch */ color: oklch(46.1% 0.186 295.8);
Tailwind
colors: {
  custom: {
    50: '#9770ca',
    500: '#6535b2',
    950: '#000000',
  },
}
SCSS
$custom: #6535b2;
$custom-light: #9770ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6535b2",
  "rgb": {
    "r": 101,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 263.04,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46141,
    "c": 0.18637,
    "h": 295.8
  },
  "luminance": 0.08527
}

Semantic roles & 50–950 ramp

primary
#6535B2
secondary
#AAC57E
accent
#DD4AA5
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6535B2

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

Preview Lab → · Contrast checker → · Palette generator →

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